mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00: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. git-svn-id: https://develop.svn.wordpress.org/trunk@55645 602fd350-edb4-49c9-b593-d223f7449a82
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