[wp-trac] [WordPress Trac] #9824: make better use of stubs when verbose rules should apply

WordPress Trac wp-trac at lists.automattic.com
Sat Jul 23 00:40:10 UTC 2011


#9824: make better use of stubs when verbose rules should apply
-------------------------------+-----------------------
 Reporter:  Denis-de-Bernardy  |       Owner:
     Type:  task (blessed)     |      Status:  reopened
 Priority:  normal             |   Milestone:  3.3
Component:  Rewrite Rules      |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |
-------------------------------+-----------------------
Changes (by SergeyBiryukov):

 * keywords:  needs-patch => has-patch


Comment:

 Replying to [comment:31 nacin]:
 > It doesn't cause any issue in either #16136 or #16041?

 Nope.

 > The thing I see is that /blog can be changed via a manual edit to the
 permalink_structure. сIf we're on the main site of a subdirectory
 multisite, perhaps we should pop off the first segment?

 Done in [attachment:9824.5.patch 9824.5.patch]. Perhaps instead of a
 hardcoded value, it should be a variable in `WP_Rewrite`, like
 `$wp_rewrite->index`?

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


More information about the wp-trac mailing list