[wp-trac] [WordPress Trac] #20480: Can't access original slug with wp_unique_post_slug filter

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 1 15:22:25 UTC 2012


#20480: Can't access original slug with wp_unique_post_slug filter
--------------------------+------------------------------
 Reporter:  bradyvercher  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Permalinks    |     Version:  3.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by bradyvercher):

 That should do it. Thanks!

 As an enhancement, something like a `pre_wp_unique_post_slug` filter that
 operates similar to
 [http://core.trac.wordpress.org/attachment/ticket/14111/ticket.14111.2.diff
 this patch] might also be beneficial so plugins can bypass the default
 processing.

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


More information about the wp-trac mailing list