[wp-trac] [WordPress Trac] #16472: set_query_var() / get_query_var() does not work for NULL values
WordPress Trac
noreply at wordpress.org
Sun Feb 2 06:17:00 UTC 2014
#16472: set_query_var() / get_query_var() does not work for NULL values
----------------------------------------+-------------------------
Reporter: hakre | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Query | Version:
Severity: normal | Resolution: maybelater
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+-------------------------
Changes (by wonderboymusic):
* status: new => closed
* resolution: => maybelater
* milestone: 3.9 =>
Comment:
This change breaks 100 unit tests. I can't even fathom the unintended side
effects this would introduce. In most cases, we check `! empty()` anyway,
so null and empty string are evaluated the same.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/16472#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list