Coding Standards: Use strict comparison in `wp-admin/upgrade.php`.
Props mukesh27. Fixes #50155. Built from https://develop.svn.wordpress.org/trunk@47788 git-svn-id: http://core.svn.wordpress.org/trunk@47564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1e813b0275
commit
9e343ccb33
|
@ -67,7 +67,7 @@ header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option
|
|||
<body class="wp-core-ui">
|
||||
<p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></p>
|
||||
|
||||
<?php if ( get_option( 'db_version' ) == $wp_db_version || ! is_blog_installed() ) : ?>
|
||||
<?php if ( (int) get_option( 'db_version' ) === $wp_db_version || ! is_blog_installed() ) : ?>
|
||||
|
||||
<h1><?php _e( 'No Update Required' ); ?></h1>
|
||||
<p><?php _e( 'Your WordPress database is already up to date!' ); ?></p>
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.5-alpha-47787';
|
||||
$wp_version = '5.5-alpha-47788';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue