wordpress-develop/tests
Peter Wilson e2fff3fddc REST API: Prevent database error when deleting meta data.
Add a check to `WP_REST_Meta_Fields::delete_meta_value()` ensuring meta data is set before attempting to delete it from the database. If the data does not exist, the delete is considered successful as the data matches the desired state.

Props BrechtVds, goaroundagain, TimothyBlynJacobs.
Fixes #52787.


git-svn-id: https://develop.svn.wordpress.org/trunk@50567 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-23 23:34:59 +00:00
..
e2e Build/Test Tools: Revert [50540]. 2021-03-18 14:33:12 +00:00
gutenberg Editor: Update @wordpress npm packages 2021-03-05 04:08:33 +00:00
phpunit REST API: Prevent database error when deleting meta data. 2021-03-23 23:34:59 +00:00
qunit Build/Test Tools: Switch back to running the PHPUnit test suite against the src directory instead of build. 2021-02-26 14:07:53 +00:00