[wp-trac] [WordPress Trac] #26284: Stop get_page_uri requiring a page ID
WordPress Trac
noreply at wordpress.org
Mon May 2 18:28:06 UTC 2016
#26284: Stop get_page_uri requiring a page ID
--------------------------------------+------------------------
Reporter: pollett | Owner: chriscct7
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.6
Component: Posts, Post Types | Version: 3.7
Severity: trivial | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses: template
--------------------------------------+------------------------
Changes (by ericlewis):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"37345"]:
{{{
#!CommitTicketReference repository="" revision="37345"
Posts: Allow `get_page_uri()` to be called without a $page argument.
`get_page_uri()` can now be called without an argument, which will return
the page URI for the current post in the loop.
Props pollett.
Fixes #26284.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26284#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list