[wp-trac] [WordPress Trac] #39062: New function: `wp_get_post_revisions_url()`

WordPress Trac noreply at wordpress.org
Sun Dec 4 18:44:05 UTC 2016


#39062: New function: `wp_get_post_revisions_url()`
-----------------------------+--------------------------------------
 Reporter:  georgestephanis  |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Revisions        |    Version:
 Severity:  normal           |   Keywords:  has-patch has-unit-tests
  Focuses:                   |
-----------------------------+--------------------------------------
 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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39062>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list