Make WordPress Core

Opened 3 years ago

Last modified 3 weeks ago

#39062 assigned enhancement

New function: `wp_get_post_revisions_url()`

Reported by: georgestephanis Owned by: adamsilverstein
Milestone: 5.4 Priority: normal
Severity: normal Version: 2.2
Component: Revisions Keywords: has-patch has-unit-tests needs-refresh needs-testing
Focuses: Cc:
PR Number:


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 3 years ago.

Download all attachments as: .zip

Change History (7)

#1 @iaaxpage
3 years ago

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

#2 @georgestephanis
3 years ago

  • Type changed from defect (bug) to enhancement

Arguably. Changed to enhancement.

#4 @adamsilverstein
12 months 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
12 months ago

  • Status changed from new to reopened

#6 @adamsilverstein
12 months ago

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

#7 @adamsilverstein
3 weeks ago

  • Milestone changed from Future Release to 5.4
Note: See TracTickets for help on using tickets.