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

WordPress Trac noreply at wordpress.org
Thu Sep 10 23:49:16 UTC 2015


#14849: Rewrite rules should be flushed when you switch themes
-------------------------+---------------------
 Reporter:  jorbin       |       Owner:  jorbin
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  4.4
Component:  Permalinks   |     Version:  3.0
 Severity:  normal       |  Resolution:  fixed
 Keywords:  needs-patch  |     Focuses:
-------------------------+---------------------
Changes (by jorbin):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34028"]:
 {{{
 #!CommitTicketReference repository="" revision="34028"
 Flush rewrite rules upon theme switch

 Themes can ( and do ) but shouldn't include custom rewrite rules.This can
 lead to hard to debug issues for theme authors. Theme changes are not a
 ultra common conclusion. Flushing the rewrite rules on theme switch will
 lead to a clean slate for each theme which helps make debugging easier.

 And @nacin said we should do this 5 years ago at WordCamp Mid Atlantic.

 Fixes #14849
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/14849#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list