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

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 3 11:44:47 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 Denis-de-Bernardy):

 Replying to [comment:14 shidouhikari]:
 > Thx dd32 :)
 >
 > If nothing goes wrong I'll have a plugin being released together with
 3.0 that will benefit for it!
 >
 > Denis, what you mean by handler?
 > That filter is enough for what I'm thinking.

 Indeed, but I'm not 100% is sufficient for what DD32 was thinking. If, for
 instance, a custom post type decides to add a custom stub, a custom
 permalink tag, etc... the rewrite rules filter comes to mind, but there
 might needs to be a filter when it gets interpreted or something like that
 in order to take full advantage of the new hook.

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


More information about the wp-trac mailing list