Changeset 49752 for trunk/src/wp-admin/includes/upgrade.php
- Timestamp:
- 12/04/2020 09:42:52 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/upgrade.php
r49744 r49752 875 875 } 876 876 877 if ( $wp_current_db_version < 497 35) {877 if ( $wp_current_db_version < 49752 ) { 878 878 upgrade_560(); 879 879 } … … 2279 2279 delete_transient( 'dirsize_cache' ); 2280 2280 } 2281 2282 if ( $wp_current_db_version < 49752 ) { 2283 $results = $wpdb->get_results( 2284 $wpdb->prepare( 2285 "SELECT 1 FROM {$wpdb->usermeta} WHERE meta_key = %s LIMIT 1", 2286 WP_Application_Passwords::USERMETA_KEY_APPLICATION_PASSWORDS 2287 ) 2288 ); 2289 2290 if ( ! empty( $results ) ) { 2291 update_site_option( WP_Application_Passwords::OPTION_KEY_IN_USE, 1 ); 2292 } 2293 } 2281 2294 } 2282 2295
Note: See TracChangeset
for help on using the changeset viewer.