Changeset 36679 for trunk/src/wp-admin/includes/upgrade.php
- Timestamp:
- 02/24/2016 03:33:14 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/upgrade.php
r36416 r36679 1669 1669 * @since 4.5.0 1670 1670 * 1671 * @global int $wp_current_db_version 1671 * @global int $wp_current_db_version 1672 * @global wpdb $wpdb 1672 1673 */ 1673 1674 function upgrade_450() { 1674 global $wp_current_db_version; 1675 if ( $wp_current_db_version < 36180 ) 1675 global $wp_current_db_version, $wpdb; 1676 1677 if ( $wp_current_db_version < 36180 ) { 1676 1678 wp_clear_scheduled_hook( 'wp_maybe_auto_update' ); 1679 } 1680 1681 // Remove unused email confirmation options, moved to usermeta. 1682 if ( $wp_current_db_version < 36679 && is_multisite() ) { 1683 $wpdb->query( "DELETE FROM $wpdb->options WHERE option_name REGEXP '^[0-9]+_new_email$'" ); 1684 } 1677 1685 } 1678 1686
Note: See TracChangeset
for help on using the changeset viewer.