Wordpress/tests
John Blackbourn d1707d6542 Posts, Post Types: Prevent users from being able to delete a protected meta field from a post.
Previously a user could remove a protected meta field by using their browser developer tools to alter the form field properties in the Custom Fields meta box, given that they know the ID of the protected meta field. This change prevents this by preventing any change to a protected meta field, including changing its key.

Props ajoah, johnbillion, peterwilsoncc
Fixes #38293


git-svn-id: https://develop.svn.wordpress.org/trunk@39062 602fd350-edb4-49c9-b593-d223f7449a82
2016-10-31 19:29:07 +00:00
..
phpunit Posts, Post Types: Prevent users from being able to delete a protected meta field from a post. 2016-10-31 19:29:07 +00:00
qunit Customize: Ensure that qunit test enters in expected state and tests wp.customize.dirtyValues in starter content context. 2016-10-28 03:28:07 +00:00