#26284 closed enhancement (fixed)
Stop get_page_uri requiring a page ID
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.6 | Priority: | normal |
Severity: | trivial | Version: | 3.7 |
Component: | Posts, Post Types | Keywords: | has-patch has-unit-tests |
Focuses: | template | Cc: |
Description
Currently get_page_uri has to be passed a page id which is passed to get_post.
get_post is happy to work on the current page without requiring an id to be specified, removing this requirement.
Attachments (3)
Change History (11)
Note: See
TracTickets for help on using
tickets.
Totally.