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:
Sergey Biryukov
2023-04-11 16:28:51 +00:00
parent e4419d727c
commit ca2db43d6a

View File

@@ -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();