[wp-trac] [WordPress Trac] #56866: Coding Standards: Use strict comparison in wp-admin/update-core.php
WordPress Trac
noreply at wordpress.org
Thu Oct 20 14:28:40 UTC 2022
#56866: Coding Standards: Use strict comparison in wp-admin/update-core.php
-----------------------------+-------------------------------
Reporter: rezakhan995 | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.2
Component: Upgrade/Install | Version: 2.5
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: coding-standards
-----------------------------+-------------------------------
Changes (by SergeyBiryukov):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"54654" 54654]:
{{{
#!CommitTicketReference repository="" revision="54654"
Coding Standards: Use strict comparison in `wp-admin/update-core.php`.
This updates a conditional in `do_core_upgrade()` to use strict comparison
for error codes that are static strings.
Follow-up to [8595], [36349].
Props rezakhan995, kebbet, mukesh27, jrf, SergeyBiryukov.
Fixes #56866.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56866#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list