[wp-trac] [WordPress Trac] #55857: Usage of wp_get_post_revisions in WP_REST_Posts_Controller
WordPress Trac
noreply at wordpress.org
Thu Jun 23 01:31:57 UTC 2022
#55857: Usage of wp_get_post_revisions in WP_REST_Posts_Controller
--------------------------------------+------------------------------------
Reporter: furi3r | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: rest-api, performance
--------------------------------------+------------------------------------
Comment (by peterwilsoncc):
There's a few places aside from the rest api that use
`wp_get_post_revisions()` to do a count that could make use of this code.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55857#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list