Changes between Initial Version and Version 4 of Ticket #56279
- Timestamp:
- 07/25/2022 09:33:09 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #56279
-
Property
Summary
changed from
Use wp_get_last_revision_id_and_total_count() where appropriate
toUse wp_get_latest_revision_id_and_total_count() where appropriate
-
Property
Summary
changed from
-
Ticket #56279 – Description
initial v4 1 1 Background: #55857 2 2 3 A new function `wp_get_la st_revision_id_and_total_count()`, with an optimized query to get the last revision ID and total count, was introduced in [53759] and [53769].3 A new function `wp_get_latest_revision_id_and_total_count()`, with an optimized query to get the last revision ID and total count, was introduced in [53759], [53769], and [53778]. 4 4 5 5 As noted in comment:4:ticket:55857, there are a few other places in core that could use it.