[wp-trac] [WordPress Trac] #15963: Don't try to add orphaned pages' parents' slugs to the page URL

WordPress Trac noreply at wordpress.org
Thu Sep 10 16:53:54 UTC 2015


#15963: Don't try to add orphaned pages' parents' slugs to the page URL
-------------------------------+-----------------------------
 Reporter:  filosofo           |       Owner:  wonderboymusic
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  4.4
Component:  Posts, Post Types  |     Version:  3.1
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch          |     Focuses:
-------------------------------+-----------------------------
Changes (by wonderboymusic):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34001"]:
 {{{
 #!CommitTicketReference repository="" revision="34001"
 In `get_page_uri()`, do not add parent slugs to orphaned pages.

 Adds unit test.

 Props filosofo, MikeHansenMe, MikeHansenMe, chriscct7.
 Fixes #15963.
 }}}

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


More information about the wp-trac mailing list