WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 6 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
Focuses: Cc:
PR Number:

Description

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

#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
11 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
11 months ago

  • Status changed from new to reopened

#6 @adamsilverstein
11 months ago

  • Owner set to adamsilverstein
  • Status changed from reopened to assigned
Note: See TracTickets for help on using tickets.