Make WordPress Core

Opened 2 years ago

Last modified 7 weeks ago

#26284 assigned enhancement

Stop get_page_uri requiring a page ID

Reported by: pollett Owned by: chriscct7
Milestone: Future Release 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 2 years ago.

Download all attachments as: .zip

Change History (5)

2 years ago

#1 @SergeyBiryukov
2 years ago

  • Version changed from trunk to 3.7

#2 @nacin
23 months ago

  • Component changed from General to Post Types

#3 @ericlewis
21 months ago

  • Focuses template added


#4 @chriscct7
7 weeks ago

  • Milestone changed from Awaiting Review to Future Release
  • Owner set to chriscct7
  • Status changed from new to assigned
Note: See TracTickets for help on using tickets.