mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Coding Standards: Use strict comparison in wp-admin/maint/repair.php
.
Follow-up to [12092], [19757]. Props azouamauriac, aristath, poena, afercia, SergeyBiryukov. See #57839. Built from https://develop.svn.wordpress.org/trunk@55645 git-svn-id: http://core.svn.wordpress.org/trunk@55157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8bbfa10e2f
commit
968156d9ee
@ -91,7 +91,7 @@ if ( ! defined( 'WP_ALLOW_REPAIR' ) || ! WP_ALLOW_REPAIR ) {
|
||||
__( 'Database repair results' ) .
|
||||
'</h1>';
|
||||
|
||||
$optimize = 2 == $_GET['repair'];
|
||||
$optimize = '2' === $_GET['repair'];
|
||||
$okay = true;
|
||||
$problems = array();
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.3-alpha-55644';
|
||||
$wp_version = '6.3-alpha-55645';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user