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

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 2 19:00:13 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  |
-------------------------------+-----------------------------

Comment (by westi):

 Replying to [comment:5 pbearne]:
 > 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.
 >

 That sounds great and warrants a separate ticket.

 If you can come up with a translation engine for htaccess rules over to
 IIS that would be magic :-)

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


More information about the wp-trac mailing list