[wp-trac] [WordPress Trac] #10570: Flush/Init the $wp_rewrite on theme change.

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 2 18:36:20 UTC 2011


#10570: Flush/Init the $wp_rewrite on theme change.
-------------------------------+-----------------------------
 Reporter:  frumph             |       Owner:  westi
     Type:  enhancement        |      Status:  accepted
 Priority:  normal             |   Milestone:  Future Release
Component:  Themes             |     Version:  2.8
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+-----------------------------
Changes (by pbearne):

 * cc: pbearne (added)


Comment:

 Hi Guys

 I have been keeping an eye on the IIS rewrite rules (We provided the hard-
 coded rules that in the current code) for a while and it would be very
 nice to get it sorted.

 But that would be easy as it will need a lot of code and testing

 there is fork in code between lamp and wimp in the lamp fork their is code
 to allow plug-in / themes and the WP-core to generate premalinks rule by
 rule. The Wimp fork writes a hard-coded blog of code with switch between
 MS and stand alone.


 I would love to see the code that generates the rules for lamp to be
 extended to translate the requested rule into an wimp rule so it can be
 add rule by rule.

 It is a bit of a hack the way it is now.

 I have a nice wimp MS setup to help with testing.

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


More information about the wp-trac mailing list