Wordpress/tests
John Blackbourn 61350144fb Role/Capability: When checking capabilities before setting a post slug, ensure the correct post type capabilities are used.
Previously, only the `publish_posts` capability was checked. Now, the correct meta or primitive capability for the post type is used where appropriate.

Props peterwilsoncc

Fixes #42464


git-svn-id: https://develop.svn.wordpress.org/trunk@42380 602fd350-edb4-49c9-b593-d223f7449a82
2017-12-09 22:50:13 +00:00
..
phpunit Role/Capability: When checking capabilities before setting a post slug, ensure the correct post type capabilities are used. 2017-12-09 22:50:13 +00:00
qunit REST API: Add `permalink_structure` to the index endpoint. 2017-11-10 06:10:23 +00:00