[wp-trac] [WordPress Trac] #14849: Rewrite rules should be flushed when you switch themes

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 12 22:02:22 UTC 2010


#14849: Rewrite rules should be flushed when you switch themes
-------------------------+--------------------------------------------------
 Reporter:  jorbin       |       Owner:           
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  3.1      
Component:  Permalinks   |     Version:           
 Severity:  normal       |    Keywords:  has-patch
-------------------------+--------------------------------------------------

Comment(by greenshady):

 Adding an activation hook sounds like the best solution for this.  We have
 `switch_theme`, which works on deactivation.  Themes that add custom post
 types and taxonomies should be flushing the rewrite rules themselves.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14849#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list