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

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 11 21:12:14 UTC 2011


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

Comment (by Otto42):

 By using get_page_by_path, I was able to implement this basic idea much
 simpler. I don't know how efficient get_page_by_path actually is though,
 so I can't speak as to performance.

 use_verbose_page_rules still exists, but with this it doesn't create huge
 rewrite rulesets anymore.

 See no_verbose_ver1.diff.

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


More information about the wp-trac mailing list