[wp-trac] [WordPress Trac] #56978: Use `update_post_author_caches ` in `wp_prepare_revisions_for_js`
WordPress Trac
noreply at wordpress.org
Fri Nov 4 17:04:53 UTC 2022
#56978: Use `update_post_author_caches ` in `wp_prepare_revisions_for_js`
--------------------------------------+------------------------------
Reporter: spacedmonkey | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Revisions | Version: 6.1
Severity: normal | Resolution:
Keywords: good-first-bug has-patch | Focuses: performance
--------------------------------------+------------------------------
Comment (by spacedmonkey):
@benjgrolleau Thanks for your patch.
How it is incorrect. This function accepts an array of post objects. Also
$revisions should be passed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56978#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list