[wp-trac] [WordPress Trac] #55857: Usage of wp_get_post_revisions in WP_REST_Posts_Controller

WordPress Trac noreply at wordpress.org
Mon Jul 25 00:45:30 UTC 2022


#55857: Usage of wp_get_post_revisions in WP_REST_Posts_Controller
--------------------------------------+------------------------------------
 Reporter:  furi3r                    |       Owner:  spacedmonkey
     Type:  enhancement               |      Status:  reopened
 Priority:  normal                    |   Milestone:  6.1
Component:  REST API                  |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  rest-api, performance
--------------------------------------+------------------------------------
Changes (by peterwilsoncc):

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


Comment:

 My feelings are just strong enough to reopen the ticket. What is the first
 and last revision seems a little ambiguous to me.

 What got me to reopen was that Core has refers to latest posts, latest
 comments, etc fairly consistently based on a basic search for `_last_` vs
 `_latest_`.

 I create a follow up PR.

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


More information about the wp-trac mailing list