[wp-trac] [WordPress Trac] #14079: wp_unique_post_slug does not work properly for hierarchical custom posts types
WordPress Trac
wp-trac at lists.automattic.com
Thu Jun 24 23:18:23 UTC 2010
#14079: wp_unique_post_slug does not work properly for hierarchical custom posts
types
--------------------------+-------------------------------------------------
Reporter: chowmein | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: Post Types | Version:
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Custom post types with hierarchy set to true, will still have a suffix
appended to the slug if the post name is not unique.
Currently you will have to apply the 'hierarchical_post_types' filter to
your custom post type. However, this should be done through
register_post_type().
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14079>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list