Coding Standards: Use strict comparison in `wp-admin/upgrade.php`.

Props mukesh27.
Fixes #50155.

git-svn-id: https://develop.svn.wordpress.org/trunk@47788 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-05-13 10:08:58 +00:00
parent 6e8ab8448a
commit 6e00150660
1 changed files with 1 additions and 1 deletions

View File

@ -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>