[wp-trac] [WordPress Trac] #35084: check for post status in get_page_uri causes issues with permalinks
WordPress Trac
noreply at wordpress.org
Sun Dec 27 02:15:34 UTC 2015
#35084: check for post status in get_page_uri causes issues with permalinks
--------------------------+---------------------
Reporter: tharsheblows | Owner: netweb
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.4.1
Component: Permalinks | Version: 4.4
Severity: normal | Resolution: fixed
Keywords: fixed-major | Focuses:
--------------------------+---------------------
Changes (by dd32):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"36105"]:
{{{
#!CommitTicketReference repository="" revision="36105"
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.
Merges [36094] to the 4.4 branch.
Props tharsheblows.
See #15963.
Fixes #35084.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35084#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list