[wp-trac] [WordPress Trac] #56791: Coding Standards fixes for WP 6.2
WordPress Trac
noreply at wordpress.org
Mon Nov 28 19:52:56 UTC 2022
#56791: Coding Standards fixes for WP 6.2
----------------------------+-------------------------------
Reporter: desrosj | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.2
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: coding-standards
----------------------------+-------------------------------
Changes (by jrf):
* Attachment "56791-always-use-strict-comparisons-when-using-
in_array.patch" added.
This fixes three out of the four currently flagged issues for `in_array()`
usage. These three all do comparisons with strings, so all the more reason
why it is imperative that a strict comparison is used.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56791>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list