[wp-trac] [WordPress Trac] #48965: Prefer strict PHP comparisons over loose PHP comparisons
WordPress Trac
noreply at wordpress.org
Fri Dec 13 13:36:00 UTC 2019
#48965: Prefer strict PHP comparisons over loose PHP comparisons
-------------------------+------------------------------
Reporter: pikamander2 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: minor | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Comment (by pikamander2):
Here are some past cases where converting loose comparisons (and using
yoda conditions) seems to have been accepted:
https://core.trac.wordpress.org/ticket/46834
https://core.trac.wordpress.org/ticket/47201
https://core.trac.wordpress.org/ticket/46508
Just wanted to check if that's still desired and what all I should watch
out for while doing so.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48965#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list