wordpress-develop/tests/phpunit/tests/meta
Boone Gorges 0ae22e5f4c In delete_metadata(), only invalidate cache for affected objects.
The `$delete_all` flag in `delete_metadata()` triggers cache invalidation for
multiple objects. Previously, invalidation took place for all objects matching
the `$meta_key` parameter, regardless of whether `$meta_value` was also set.
This resulted in overly aggressive invalidation.

Props rahal.aboulfeth.
Fixes #35797.

git-svn-id: https://develop.svn.wordpress.org/trunk@36511 602fd350-edb4-49c9-b593-d223f7449a82
2016-02-12 02:46:28 +00:00
..
deleteMetadata.php In delete_metadata(), only invalidate cache for affected objects. 2016-02-12 02:46:28 +00:00
query.php Avoid returning duplicate matches when using a meta query in WP_User_Query. 2015-06-09 17:41:35 +00:00
slashes.php Unit Tests: better fixtures for Tests_Meta_Slashes and Tests_WP_Customize_Section. 2015-10-17 21:28:43 +00:00
updateMetadata.php Don't double-unslash meta key when update_metadata() falls back on add_metadata(). 2016-02-11 17:34:59 +00:00