wordpress-develop/tests/phpunit/tests/meta
Jeremy Felt 4f2008a104 Meta: Remove object subtype handling from register_meta().
Registration is now based solely on object type, which allows the code around this to be simplified significantly.

In the process of making this adjustment:

* `register_meta()`, `unregister_meta_key()`, `get_registered_metadata()`, and `registered_meta_key_exists()` no longer return `WP_Error` objects.
* The recently introduced `wp_object_type_exists()` function and the restriction on object type has been removed.

Note: No guarantee of uniqueness is made across object subtypes. Registered meta keys should be uniquely prefixed to avoid conflict.

Fixes #35658.


git-svn-id: https://develop.svn.wordpress.org/trunk@38095 602fd350-edb4-49c9-b593-d223f7449a82
2016-07-18 21:15:37 +00:00
..
deleteMetadata.php In delete_metadata(), only invalidate cache for affected objects. 2016-02-12 02:46:28 +00:00
query.php Tests: Change some 'group' annotations to 'ticket'. 2016-05-30 04:37:57 +00:00
registerMeta.php Meta: Remove object subtype handling from register_meta(). 2016-07-18 21:15:37 +00:00
slashes.php Remove tests related to wp_*_post_meta() functions. 2016-02-29 22:13:28 +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