[wp-trac] [WordPress Trac] #54728: Coding Standards fixes for WP 6.0
WordPress Trac
noreply at wordpress.org
Tue Mar 29 19:40:04 UTC 2022
#54728: Coding Standards fixes for WP 6.0
----------------------------+-------------------------------
Reporter: hellofromTonya | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.0
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: coding-standards
----------------------------+-------------------------------
Comment (by knutsp):
{{{#!php
<?php
1 === $_GET['test']
}}}
will never evaluate to true, as `$_REQUEST` values are all strings. Keep
the loose comparison.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54728#comment:51>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list