Make WordPress Core

Opened 23 months ago

Last modified 20 months ago

#26284 new enhancement

Stop get_page_uri requiring a page ID

Reported by: pollett Owned by:
Milestone: Awaiting Review Priority: normal
Severity: trivial Version: 3.7
Component: Posts, Post Types Keywords: has-patch
Focuses: template Cc:


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 (1)

getpageuri.diff (558 bytes) - added by pollett 23 months ago.

Download all attachments as: .zip

Change History (4)

@pollett23 months ago

comment:1 @SergeyBiryukov23 months ago

  • Version changed from trunk to 3.7

comment:2 @nacin21 months ago

  • Component changed from General to Post Types

comment:3 @ericlewis20 months ago

  • Focuses template added


Note: See TracTickets for help on using tickets.