upgrade_400()
Execute changes made in WordPress 4.0.0.
No Hooks.
Return
null
. Nothing (null).
Usage
upgrade_400();
Notes
- Global. Int. $wp_current_db_version The old (current) database version.
Changelog
Since 4.0.0 | Introduced. |
upgrade_400() upgrade 400 code WP 6.8
function upgrade_400() { global $wp_current_db_version; if ( $wp_current_db_version < 29630 ) { if ( ! is_multisite() && false === get_option( 'WPLANG' ) ) { if ( defined( 'WPLANG' ) && ( '' !== WPLANG ) && in_array( WPLANG, get_available_languages(), true ) ) { update_option( 'WPLANG', WPLANG ); } else { update_option( 'WPLANG', '' ); } } } }