[wp-trac] [WordPress Trac] #58056: Fix non-strict equality check in /w-admin/users.php Line No 148
WordPress Trac
noreply at wordpress.org
Sun Apr 2 10:20:00 UTC 2023
#58056: Fix non-strict equality check in /w-admin/users.php Line No 148
------------------------------+-----------------------------
Reporter: moinrrahmed | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Keywords: needs-patch
Focuses: coding-standards |
------------------------------+-----------------------------
A non-strict equality check issue on line 148 of the WordPress file /wp-
admin/users.php. The original code uses the "==" operator instead of the
"===" operator, which can lead to unexpected behavior in certain cases.
The updated code uses the "===" operator for strict equality checking.
This improves the security and stability of the WordPress core codebase.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58056>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list