[wp-trac] [WordPress Trac] #36174: Child posts of drafts get an extraneous slash in the permalink

WordPress Trac noreply at wordpress.org
Sat Jul 23 10:04:22 UTC 2016


#36174: Child posts of drafts get an extraneous slash in the permalink
--------------------------------------+-----------------------------
 Reporter:  inderpreet99              |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  4.6
Component:  Permalinks                |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"38145"]:
 {{{
 #!CommitTicketReference repository="" revision="38145"
 Permalinks: In `get_page_uri()`, don't prepend a parent page slug if it's
 empty.

 Props inderpreet99, SergeyBiryukov.
 Fixes #36174.
 }}}

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


More information about the wp-trac mailing list