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

WordPress Trac noreply at wordpress.org
Wed Nov 10 01:25:23 UTC 2021


#39062: New function: `wp_get_post_revisions_url()`
-------------------------------------------------+-------------------------
 Reporter:  georgestephanis                      |       Owner:
                                                 |  hellofromTonya
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  5.9
Component:  Revisions                            |     Version:  2.2
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests needs-dev-  |     Focuses:
  note commit                                    |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"52095" 52095]:
 {{{
 #!CommitTicketReference repository="" revision="52095"
 Revisions: Introduce `wp_get_post_revisions_url()` to get URL for editing
 revisions.

 There's now a way to get a link to a given post's revisions. Introducing
 `wp_get_post_revisions_url()` and its unit tests.

 Props adamsilverstein, audrasjb, costdev, davidbaumwald, garrett-eclipse,
 georgestephanis, hellofromTonya, iaaxpage.
 Fixes #39062.
 }}}

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


More information about the wp-trac mailing list