Opened 14 years ago
Closed 14 years ago
#13188 closed defect (bug) (worksforme)
add_rewrite_tag doesn't create query_var anymore
Reported by: | kyr dunenkoff | Owned by: | ryan |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0 |
Component: | Query | Keywords: | query_vars |
Focuses: | Cc: |
Description
add_rewrite_tag('%login%','(login|logout)');
$wp_rewrite->add_permastruct('login','/%login%/',false,EP_NONE);
This is the code, and two days ago it worked perfectly, now I updated to latest nightly build, and this code doesn't produce query_vars anymore, though it shows in matched_query and matched_rule still.
Change History (1)
Note: See
TracTickets for help on using
tickets.
This appears to be working for me under the latest trunk
Using that exact code in a mu-plugin results in it being in wp_rewrite/wp_query/wp.
Closing as worksforme, Re-open with a small plugin which shows the problem if you're still experiencing it