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

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 24 10:36:58 UTC 2010


#12240: Let plugins filter post permalink before core replacements
--------------------------+-------------------------------------------------
 Reporter:  shidouhikari  |       Owner:  ryan             
     Type:  enhancement   |      Status:  new              
 Priority:  normal        |   Milestone:  3.0              
Component:  Permalinks    |     Version:  2.9.1            
 Severity:  normal        |    Keywords:  has-patch, tested
--------------------------+-------------------------------------------------
Changes (by shidouhikari):

  * keywords:  permalink, filter, hook, get_permalink, post_link => has-
               patch, tested


Comment:

 I've been running this patch on my 2.9.2 sites and it works fine.

 The only thing the patch changes is adding the filter. If the new filter
 isn't used by any plugin, nothing will change as usual for unused filters.

 Any harm a plugin may do with the new filter, it can do with the old
 'post_link' filter, so we should be OK on that too.

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


More information about the wp-trac mailing list