Make WordPress Core

Changes between Initial Version and Version 4 of Ticket #56279


Ignore:
Timestamp:
07/25/2022 09:33:09 PM (2 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56279

    • Property Summary changed from Use wp_get_last_revision_id_and_total_count() where appropriate to Use wp_get_latest_revision_id_and_total_count() where appropriate
  • Ticket #56279 – Description

    initial v4  
    11Background: #55857
    22
    3 A new function `wp_get_last_revision_id_and_total_count()`, with an optimized query to get the last revision ID and total count, was introduced in [53759] and [53769].
     3A 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].
    44
    55As noted in comment:4:ticket:55857, there are a few other places in core that could use it.