[wp-trac] [WordPress Trac] #12240: Let plugins filter post permalink before core replacements

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 3 20:20:42 UTC 2010


#12240: Let plugins filter post permalink before core replacements
-----------------------------------------+----------------------------------
 Reporter:  shidouhikari                 |        Owner:  ryan  
     Type:  enhancement                  |       Status:  closed
 Priority:  normal                       |    Milestone:  3.0   
Component:  Permalinks                   |      Version:  2.9.1 
 Severity:  normal                       |   Resolution:  fixed 
 Keywords:  has-patch reporter-feedback  |  
-----------------------------------------+----------------------------------

Comment(by shidouhikari):

 This is only for post indeed, I didn't have custom post types in mind.

 The whole idea is to have access to existing rewrite tags during permalink
 generation. Other resources like date and category that don't use rewrite
 tags don't need it at all. For custom post types I'd need to see how their
 permalink is generated and parsed, I never worked with them.

 If somebody wanna have control over these resources he may need other
 filters for sure, but that's beyond the scope of my suggestion idea :D

 If anything, post a mail to wp-hackers with this subject and we can extend
 it.

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


More information about the wp-trac mailing list