[wp-hackers] Rewrite endpoints

scribu scribu at gmail.com
Mon Aug 31 23:47:12 UTC 2009

Ok, it was the usual suspect: flush_rules().

Now, when I go to


I get this:

    [query_vars] => Array
            [author_name] => scribu

    [query_string] => author_name=scribu
    [request] => membri/scribu/foobar
    [matched_rule] => membri/([^/]+)/foobar(/(.*))?/?$
    [matched_query] => author_name=scribu&foobar=

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,


More information about the wp-hackers mailing list