From 7c5ed79cf0609722f2a474491a916e5d58d7f900 Mon Sep 17 00:00:00 2001 From: Mukesh Panchal Date: Wed, 29 Nov 2023 10:18:32 +0530 Subject: [PATCH] Apply suggestions from code review --- src/wp-admin/includes/upgrade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/upgrade.php b/src/wp-admin/includes/upgrade.php index 1175bd5b70a03..bc758a39895d9 100644 --- a/src/wp-admin/includes/upgrade.php +++ b/src/wp-admin/includes/upgrade.php @@ -2368,7 +2368,7 @@ function upgrade_650() { if ( $wp_current_db_version < 57200 ) { $stylesheet = get_stylesheet(); - // Set autoload=no for the previous all themes. + // Set autoload=no for all themes except the current one. $theme_mods_options = $wpdb->get_col( $wpdb->prepare( "SELECT option_name FROM $wpdb->options WHERE autoload = 'yes' AND option_name != %s AND option_name LIKE %s",