[wp-trac] [WordPress Trac] #15963: Don't try to add orphaned pages' parents' slugs to the page URL
WordPress Trac
noreply at wordpress.org
Sat Dec 26 03:45:30 UTC 2015
#15963: Don't try to add orphaned pages' parents' slugs to the page URL
----------------------------------+---------------------------
Reporter: filosofo | Owner: DrewAPicture
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.4
Component: Posts, Post Types | Version: 3.1
Severity: normal | Resolution: fixed
Keywords: has-patch needs-docs | Focuses:
----------------------------------+---------------------------
Comment (by dd32):
In [changeset:"36094"]:
{{{
#!CommitTicketReference repository="" revision="36094"
Pages: `get_page_uri()` should return the URI at which the resource being
accessed is available at, this may include non-'publish' status posts.
Reverts [34001] and fixes the original issue in #15963 - avoiding a PHP
Notice for when the post doesn't exist.
Props tharsheblows.
See #15963.
Fixes #35084.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/15963#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list