[wp-trac] [WordPress Trac] #51550: Revisions: Add a post type-specific filter to `wp_revisions_to_keep()`
WordPress Trac
noreply at wordpress.org
Thu May 13 03:35:35 UTC 2021
#51550: Revisions: Add a post type-specific filter to `wp_revisions_to_keep()`
--------------------------------------+------------------------------
Reporter: dlh | Owner: adamsilverstein
Type: enhancement | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Revisions | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------------
Changes (by dlh):
* keywords: has-patch => has-patch has-unit-tests
Comment:
Thanks for the review, @adamsilverstein!
[attachment:"51550.2.diff"] updates the docs of the new filter to note its
relationship to the existing filter, and it adds tests for the behavior of
each filter.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51550#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list