Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
mukeshpanchal27 authored Nov 29, 2023
1 parent 2b9522b commit 7c5ed79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-admin/includes/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 7c5ed79

Please sign in to comment.