[wp-trac] [WordPress Trac] #16471: Support default values for non-existant query vars in get_query_var() et al
WordPress Trac
noreply at wordpress.org
Sun Feb 2 06:45:25 UTC 2014
#16471: Support default values for non-existant query vars in get_query_var() et al
-------------------------+------------------
Reporter: hakre | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.9
Component: Query | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+------------------
Comment (by helen):
Replying to [comment:9 wonderboymusic]:
> Can someone add a concrete example of why this matters? I don't see the
benefit.
Endpoints. `get_query_var( 'something' )` gives you the same result with
or without `add_rewrite_endpoint( 'something', EP_PAGES )`, which is just
sad/horrible/etc.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/16471#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list