[wp-trac] [WordPress Trac] #14111: wp_unique_post_slug() doesn't have a filter

WordPress Trac wp-trac at lists.automattic.com
Sat Aug 13 06:13:38 UTC 2011


#14111: wp_unique_post_slug() doesn't have a filter
-------------------------------------------------+-------------------------
 Reporter:  Viper007Bond                         |       Owner:  westi
     Type:  enhancement                          |      Status:  accepted
 Priority:  lowest                               |   Milestone:  Future
Component:  Permalinks                           |  Release
 Severity:  trivial                              |     Version:
 Keywords:  has-patch needs-testing westi-likes  |  Resolution:
-------------------------------------------------+-------------------------
Changes (by westi):

 * keywords:  has-patch needs-testing 2nd-opinion => has-patch needs-testing
     westi-likes
 * owner:   => westi
 * status:  new => accepted


Comment:

 We should have a filter at the end of the function to compliment the ones
 in the function so that if you want to do something to the resultant slug
 or replace the behaviour easily you can.

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


More information about the wp-trac mailing list