Wordpress/tests
Gary Pendergast a37ee6171e Permalinks: Add a pre_wp_unique_post_slug filter.
Returning a non-`null` value on this fillter will cause `wp_unique_post_slug()` to return early with that value, skipping potentially expensive database queries on some sites.

Props coffee2code, javorszky, iCaleb.
Fixes #21112.



git-svn-id: https://develop.svn.wordpress.org/trunk@44454 602fd350-edb4-49c9-b593-d223f7449a82
2019-01-08 03:46:58 +00:00
..
phpunit Permalinks: Add a pre_wp_unique_post_slug filter. 2019-01-08 03:46:58 +00:00
qunit REST API: Remove permalink_structure from the REST API settings endpoint. 2019-01-08 02:50:05 +00:00