Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #35658, comment 134


Ignore:
Timestamp:
07/16/2016 09:51:24 PM (8 years ago)
Author:
jeremyfelt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35658, comment 134

    initial v1  
    22
    33* Removes `wp_object_type_exists()` so that `register_meta()` works alongside the other pieces of the meta API.
    4 * Removes `$object_subtype` throughout.
    5 * Alters the return type of `register_meta()` to boolean. Successful registration will return `true`. Old style arguments will result in `false`.
     4* Removes `$object_subtype` throughout. See #37340.
     5* Alters the return type of `register_meta()` to boolean. Successful registration will return `true`. Old style arguments will result in `false`. See #37345.
    66* Removes the `sanitize_{$object_type}_{$object_subtype}_meta_{$meta_key}` and `auth_{$object_type}_{$object_subtype}_meta_{$meta_key}` filters. Without subtype, these are unnecessary.
    77* Alters the return type of `unregister_meta_key()` to boolean.
     8* Alters the return type of `registered_meta_key_exists()` to boolean. See #37369.
    89* Removes `WP_Error` as a possible return type for `get_registered_metadata()`.
    910* Adjusts tests accordingly.