[wp-trac] [WordPress Trac] #13188: add_rewrite_tag doesn't create query_var anymore

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 30 14:11:45 UTC 2010


#13188: add_rewrite_tag doesn't create query_var anymore
---------------------------+------------------------------------------------
 Reporter:  kyr dunenkoff  |       Owner:  ryan      
     Type:  defect (bug)   |      Status:  new       
 Priority:  normal         |   Milestone:  3.0       
Component:  Query          |     Version:  3.0       
 Severity:  normal         |    Keywords:  query_vars
---------------------------+------------------------------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13188>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list