mirror of
git://develop.git.wordpress.org/
synced 2025-03-20 20:09:53 +01:00
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. Merges [50567] to the 5.7 branch. Fixes #52787. git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50573 602fd350-edb4-49c9-b593-d223f7449a82