[wp-trac] [WordPress Trac] #21553: Remove dupe/deprecated code from sites.php
WordPress Trac
wp-trac at lists.automattic.com
Sun Aug 12 10:29:26 UTC 2012
#21553: Remove dupe/deprecated code from sites.php
----------------------------+------------------
Reporter: wonderboymusic | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.5
Component: Multisite | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+------------------
Comment (by kawauso):
Any reason to be using strict comparison in the `$doaction` comparisons?
Switches use loose comparison (http://php.net/manual/en/control-
structures.switch.php), so you could have an action argument that was
capitalised and would go to the correct case, but fail in the strict
comparison.
Being slightly pedantic, but still seems odd.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21553#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list