wordpress-develop/tests
Adam Silverstein 62327715a0 Revisions: add a new filter for revisions to keep by post type.
Add a new `wp_{$post_type}_revisions_to_keep` filter that makes it convenient to filter the number of revisions created for a specific post type.

Overrides both the value of WP_POST_REVISIONS and the `wp_revisions_to_keep` filter.

Props dlh.
Fixes #51550.



git-svn-id: https://develop.svn.wordpress.org/trunk@50949 602fd350-edb4-49c9-b593-d223f7449a82
2021-05-21 15:28:39 +00:00
..
e2e Build/Test Tools: Remove explicit puppeteer dependency. 2021-03-29 18:05:47 +00:00
gutenberg Editor: Update @wordpress npm packages 2021-03-05 04:08:33 +00:00
phpunit Revisions: add a new filter for revisions to keep by post type. 2021-05-21 15:28:39 +00:00
qunit Editor: Enqueue script and style assets only for blocks present on the page 2021-05-11 09:41:48 +00:00