Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #55857, comment 10


Ignore:
Timestamp:
07/23/2022 03:41:01 PM (4 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #55857, comment 10

    initial v1  
    22> Maybe a silly note, but this reads odd to me as `wp_get_lastest_revision_id_and_total_count` instead of `wp_get_latest_revision_id_and_total_count`, especially when the docs use the word `latest` and not `lastest`
    33
    4 Good point. Looking at the test, they mention "wp_get_'''last'''_revision_id_and_total_count()", and the variable name is `$last_revision` (here and in a few other places in core), so I think this was supposed to be "last".
     4Good point. Looking at the tests, they mention "wp_get_'''last'''_revision_id_and_total_count()", and the variable name is `$last_revision` (here and in a few other places in core), so I think this was supposed to be "last".