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

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 26 04:59:53 UTC 2010


#9824: make better use of stubs when verbose rules should apply
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:                
     Type:  enhancement        |      Status:  assigned      
 Priority:  normal             |   Milestone:  Future Release
Component:  Optimization       |     Version:                
 Severity:  normal             |    Keywords:  needs-patch   
-------------------------------+--------------------------------------------

Comment(by blt4):

 Attached is a patch that should fix this.

 Current code makes the verbose rules judgement based on the first
 structure tag.  [http://ottopress.com/2010/category-in-permalinks-
 considered-harmful/ This post] suggests you should be able to use a static
 string in front of a string structure tag to prevent verbose rules.

 For example, the following permalink custom structure should '''not'''
 trigger verbose rules, but does in WP 3.0.1:

 {{{
 /view/%pagenum%
 }}}

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


More information about the wp-trac mailing list