[wp-trac] [WordPress Trac] #17185: Optimize verbose page rules

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 20 15:07:41 UTC 2011


#17185: Optimize verbose page rules
---------------------------+------------------------------
 Reporter:  duck_          |       Owner:
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Rewrite Rules  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+------------------------------

Comment (by duck_):

 One change I've noticed is that for /%postname%/ the patch will allow
 /any/path/at/all/attachment/att-slug/ (first part is made up, att-slug is
 an existing attachment). Whereas on current trunk this will 404 since it
 obviously doesn't match any of the huge number of individually generated
 rules.

 NB: the behaviour of such a request is already rather inconsistent. For
 example it works for both 'Month and name' and /%category%/%postname%/,
 though redirect_canonical kicks in for the latter.

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


More information about the wp-trac mailing list