[wp-trac] [WordPress Trac] #16687: %postname% permalinks should not trigger verbose rewrite rules

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 2 18:37:37 UTC 2011


#16687: %postname% permalinks should not trigger verbose rewrite rules
----------------------------+------------------
 Reporter:  nacin           |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.3
Component:  Rewrite Rules   |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+------------------

Comment (by Otto42):

 Version 2 of patch uploaded. This uses a slightly more complex page query
 test which handles the feed problems reported by johanee.

 In testing with a post with the same slug as a page while using a
 /%postname%/ permalink string, the page and page feeds took precedence
 over the post and post feeds. I believe this is the desired behavior in
 such a case.

 Number of extra queries are not yet optimized in this patch, however they
 are still reasonable for sane page depths and *way* faster than the
 verbose rules.

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


More information about the wp-trac mailing list