WordPress/wp-includes/rest-api
Sergey Biryukov adb5ff451c Revisions: Rename the function for retrieving the latest revision ID and total count.
The new name is `wp_get_latest_revision_id_and_total_count()`.

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.

Follow-up to [53759], [53769].

Props peterwilsoncc.
See #55857.
Built from https://develop.svn.wordpress.org/trunk@53778


git-svn-id: http://core.svn.wordpress.org/trunk@53337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-07-25 19:20:07 +00:00
..
endpoints Revisions: Rename the function for retrieving the latest revision ID and total count. 2022-07-25 19:20:07 +00:00
fields REST API: Update “object” strings to use the appropriate nouns. 2021-05-25 13:12:58 +00:00
search Coding Standards: Apply some alignment fixes after `composer format`. 2022-07-06 19:31:14 +00:00
class-wp-rest-request.php Code Modernization: Silence the deprecation warnings for missing return type in `WP_REST_Request`. 2021-08-03 11:08:56 +00:00
class-wp-rest-response.php Docs: Update spelling for inline comments in a few files. 2022-01-25 13:55:05 +00:00
class-wp-rest-server.php General: Replace all `esc_url_raw()` calls in core with `sanitize_url()`. 2022-06-01 18:14:10 +00:00