#26284 closed enhancement (fixed)
Stop get_page_uri requiring a page ID
| Reported by: | pollett | Owned by: | chriscct7 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.6 |
| Component: | Posts, Post Types | Version: | 3.7 |
| Severity: | trivial | Keywords: | has-patch has-unit-tests |
| Cc: | Focuses: | template |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Totally.