[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
Tue Aug 27 02:22:12 UTC 2013


#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:  Awaiting Review
Component:  General      |     Version:  3.0
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by helen):

 Go figure, my brief search didn't turn up the others. I would also prefer
 false for the return, but I guess people could be using a strict
 comparison right now and then that would get all broken. This seemed like
 a reasonable solution to me given that, but will have to think on the
 fill_query_vars() thing.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/16471#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list