[wp-trac] [WordPress Trac] #55857: Usage of wp_get_post_revisions in WP_REST_Posts_Controller
WordPress Trac
noreply at wordpress.org
Fri Jul 22 16:50:10 UTC 2022
#55857: Usage of wp_get_post_revisions in WP_REST_Posts_Controller
--------------------------------------+------------------------------------
Reporter: furi3r | Owner: spacedmonkey
Type: enhancement | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses: rest-api, performance
--------------------------------------+------------------------------------
Comment (by JustinSainton):
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` (which I'm not certain is a word...but
I'm also not certain it's not 🤣)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55857#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list