Ticket #37369: 37369.patch
File 37369.patch, 520 bytes (added by , 9 years ago) |
---|
-
wp-includes/meta.php
diff --git a/wp-includes/meta.php b/wp-includes/meta.php index ff32086..2e0f4e3 100644
a b function registered_meta_key_exists( $object_type, $object_subtype, $meta_key ) 1133 1133 1134 1134 // Only specific core object types are supported. 1135 1135 if ( ! wp_object_type_exists( $object_type ) ) { 1136 return new WP_Error( 'invalid_meta_key', __( 'Invalid meta key. Not a core object type.' ) );1136 return false; 1137 1137 } 1138 1138 1139 1139 if ( ! isset( $wp_meta_keys[ $object_type ] ) ) {