[wp-trac] Re: [WordPress Trac] #8575: Add filter to modify rewrite rules

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 11 13:38:09 GMT 2008


#8575: Add filter to modify rewrite rules
-----------------------+----------------------------------------------------
 Reporter:  rmccue     |        Owner:  anonymous
     Type:  defect     |       Status:  new      
 Priority:  normal     |    Milestone:  2.7.1    
Component:  General    |      Version:           
 Severity:  normal     |   Resolution:           
 Keywords:  has-patch  |  
-----------------------+----------------------------------------------------
Comment (by filosofo):

 The function to which the patch adds that filter basically just gets the
 rewrite rules from get_option('rewrite_rules') and returns them.

 Why couldn't you just use the 'option_rewrite_rules' filter instead?

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8575#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list