Go to file
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
src Meta: Remove object subtype handling from `register_meta()`. 2016-07-18 21:15:37 +00:00
tests Meta: Remove object subtype handling from `register_meta()`. 2016-07-18 21:15:37 +00:00
tools/i18n DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:49:09 +00:00
.editorconfig
.gitignore Remove accidental .svn addition to .gitignore 2015-12-12 18:26:22 +00:00
.jshintrc
.travis.yml Output node and npm versions on travis 2016-06-16 17:27:22 +00:00
Gruntfile.js Grunt: when running `precommit` use regex to check which files have been modified. 2016-06-19 12:31:15 +00:00
package.json Update grunt-patch-wordpress to 0.4.0 2016-06-01 21:24:09 +00:00
phpunit.xml.dist Set a whitelist for PHPUnit code coverage. 2016-05-17 20:22:57 +00:00
wp-cli.yml Remove debug mode from WP-CLI by default, as it now outputs too much debugging information to be of use during normal development. 2015-11-28 18:36:06 +00:00
wp-config-sample.php
wp-tests-config-sample.php Unit Tests: Correct comment in `wp-tests-config-sample.php`. 2016-01-21 20:24:12 +00:00