[wp-trac] [WordPress Trac] #16687: %postname% permalinks should not trigger verbose rewrite rules
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 20 08:15:44 UTC 2011
#16687: %postname% permalinks should not trigger verbose rewrite rules
-----------------------------+------------------
Reporter: nacin | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 3.2
Component: Rewrite Rules | Version:
Severity: normal | Resolution:
Keywords: |
-----------------------------+------------------
Comment (by scribu):
Wouldn't it be better to look for the 'attachment' part? That's how the
regexes look.
Also, you can use $wp_rewrite->feeds instead of the hardcoded array.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16687#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list