upgrade_450
Executes changes made in WordPress 4.5.0.
Description
upgrade_450();
Usage
if ( !function_exists( 'upgrade_450' ) ) { require_once ABSPATH . '/wp-admin/includes/upgrade.php'; } // NOTICE! Understand what this does before running. $result = upgrade_450();
Defined (1)
The function is defined in the following location(s).
- /wp-admin/includes/upgrade.php
- function upgrade_450() {
- global $wp_current_db_version, $wpdb;
- if ( $wp_current_db_version < 36180 ) {
- }
- // Remove unused email confirmation options, moved to usermeta.
- if ( $wp_current_db_version < 36679 && is_multisite() ) {
- $wpdb->query( "DELETE FROM $wpdb->options WHERE option_name REGEXP '^[0-9]+_new_email$'" );
- }
- // Remove unused user setting for wpLink.
- delete_user_setting( 'wplink' );
- }