[wp-trac] [WordPress Trac] #18962: Allow duplicate slugs for different content

WordPress Trac noreply at wordpress.org
Wed Nov 5 20:04:57 UTC 2014


#18962: Allow duplicate slugs for different content
---------------------------------------------+-----------------------------
 Reporter:  maorb                            |       Owner:  wonderboymusic
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  4.1
Component:  Permalinks                       |     Version:  2.9
 Severity:  major                            |  Resolution:  fixed
 Keywords:  has-patch commit has-unit-tests  |     Focuses:
---------------------------------------------+-----------------------------

Comment (by wonderboymusic):

 In [changeset:"30246"]:
 {{{
 #!CommitTicketReference repository="" revision="30246"
 In `get_page_children()`, only check `$page->ancestors` once to avoid
 duplicates when the function recurses. Adds an argument, `$ancestors`.

 Fixes #18962.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/18962#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list