[wp-trac] [WordPress Trac] #56279: Use wp_get_last_revision_id_and_total_count() where appropriate

WordPress Trac noreply at wordpress.org
Mon Jul 25 02:59:04 UTC 2022


#56279: Use wp_get_last_revision_id_and_total_count() where appropriate
-------------------------------------+---------------------
 Reporter:  SergeyBiryukov           |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  6.1
Component:  Revisions                |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+---------------------

Comment (by peterwilsoncc):

 I've reopened #55857 to rename the function to
 `wp_get_latest_revision_id_and_total_count()` so the function follows the
 conventional term used for getting latest posts, comments, etc.

 Please hold of committing this change until the rename is complete.

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


More information about the wp-trac mailing list