Make WordPress Core

Opened 5 years ago

Last modified 19 months ago

#39062 assigned enhancement

New function: `wp_get_post_revisions_url()`

Reported by: georgestephanis Owned by: adamsilverstein
Milestone: Future Release Priority: normal
Severity: normal Version: 2.2
Component: Revisions Keywords: has-patch has-unit-tests needs-refresh needs-testing needs-dev-note
Focuses: Cc:


There's no good way to get a link to revisions for a given post short of trying to build it manually. Feels like it would be a useful utility function for core.

Patch and unit test attached.

Attachments (1)

39062.diff (2.6 KB) - added by georgestephanis 5 years ago.

Download all attachments as: .zip

Change History (13)

#1 @iaaxpage
5 years ago

Hey George, wouldn't this be more of a feature request than a bug?

#2 @georgestephanis
5 years ago

  • Type changed from defect (bug) to enhancement

Arguably. Changed to enhancement.

#4 @adamsilverstein
3 years ago

  • Keywords needs-refresh needs-testing added
  • Milestone set to Future Release
  • Version set to 2.2

This still seems useful, reopening for consideration.

#5 @adamsilverstein
3 years ago

  • Status changed from new to reopened

#6 @adamsilverstein
3 years ago

  • Owner set to adamsilverstein
  • Status changed from reopened to assigned

#7 @adamsilverstein
21 months ago

  • Milestone changed from Future Release to 5.4

This ticket was mentioned in Slack in #core by david.baumwald. View the logs.

20 months ago

#9 @davidbaumwald
20 months ago

@adamsilverstein Is this still on your list for 5.4?

#10 @garrett-eclipse
20 months ago

Note: from our bugscrub review this will need a refresh to add @since to the new function and @ticket to the unit test

#11 @davidbaumwald
20 months ago

  • Keywords needs-dev-note added

This ticket still needs a refresh and testing, and with 5.4 Beta 1 landing tomorrow, this is being moved to Future Release. If any maintainer or committer feels this can be included in 5.4 or wishes to assume ownership during a specific cycle, feel free to update the milestone accordingly.

Also marking for a dev note as it at least deserves a small call-out on the Misc Dev Note.

#12 @davidbaumwald
20 months ago

  • Milestone changed from 5.4 to Future Release

#13 @adamsilverstein
19 months ago

I wasn't able to spend time on this for 5.4, I'll get it in early in the next cycle!

Note: See TracTickets for help on using tickets.