[wp-trac] [WordPress Trac] #13459: Conflict between post and page slugs/permalinks when permalink setting is set to /%postname%/

WordPress Trac noreply at wordpress.org
Sun Jan 27 23:25:50 UTC 2013


#13459: Conflict between post and page slugs/permalinks when permalink setting is
set to /%postname%/
--------------------------------------+-----------------------------
 Reporter:  jamescollins              |       Owner:  ryan
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Future Release
Component:  Permalinks                |     Version:  2.9.2
 Severity:  normal                    |  Resolution:
 Keywords:  needs-patch dev-feedback  |
--------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:10 SergeyBiryukov]:
 > `wp_unique_post_slug()` returns a unique slug within the given post
 type.

 Correction: As noted in comment:1, pages are allowed to have non-unique
 slugs across hierarchies: [[BR]]
 http://core.trac.wordpress.org/browser/tags/3.5/wp-includes/post.php#L3103

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


More information about the wp-trac mailing list