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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user