[wp-hackers] Rewrite endpoints

Austin Matzko if.website at gmail.com
Mon Aug 31 23:55:28 UTC 2009


On Mon, Aug 31, 2009 at 6:47 PM, scribu<scribu at gmail.com> wrote:
> As you can see, foobar appears in [matched_query] but not in [query_vars] or
> [query_string]. It would be better if it also appeared in those places also,
> no?

Perhaps, but the way it works currently is that you have to explicitly
declare it as a query variable, by calling
$wp->add_query_var('foobar').


More information about the wp-hackers mailing list