[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 19:28:44 UTC 2022
#55857: Usage of wp_get_post_revisions in WP_REST_Posts_Controller
--------------------------------------+------------------------------------
Reporter: furi3r | Owner: spacedmonkey
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.1
Component: REST API | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses: rest-api, performance
--------------------------------------+------------------------------------
Changes (by SergeyBiryukov):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"53779" 53779]:
{{{
#!CommitTicketReference repository="" revision="53779"
Revisions: Update the "last revision" wording to "latest revision" in
various files.
This aims to reduce ambiguity about what exactly is the "first" or "last"
revision, and bring more consistency with similar wording elsewhere in
core, e.g. latest posts, latest comments, etc.
This affects:
* `wp_save_post_revision()`
* `wp_prepare_revisions_for_js()`
* `WP_Customize_Manager::filter_revision_post_has_changed()`
Follow-up to [53759], [53769], [53778].
Props peterwilsoncc.
Fixes #55857.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55857#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list