wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
upgrade_400 › WordPress Function
Seit4.0.0
Veraltetn/v
› upgrade_400 ( Keine Parameter )
Definiert in: |
|
Codex: |
Execute changes made in WordPress 4.0.0.
Quellcode
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() ) ) { update_option( 'WPLANG', WPLANG ); } else { update_option( 'WPLANG', '' ); } } } }