[wp-trac] [WordPress Trac] #37369: registered_meta_key_exists() must return only Boolean, not WP_error as it is used by unregister_meta_key() and get_registered_metadata() which alredy return WP_error

WordPress Trac noreply at wordpress.org
Mon Jul 18 21:19:16 UTC 2016


#37369: registered_meta_key_exists()  must return only Boolean, not WP_error as it
is used by unregister_meta_key() and get_registered_metadata() which alredy
return WP_error
--------------------------------+----------------------
 Reporter:  vishalkakadiya      |       Owner:
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:
Component:  Options, Meta APIs  |     Version:  trunk
 Severity:  normal              |  Resolution:  invalid
 Keywords:  has-patch           |     Focuses:
--------------------------------+----------------------
Changes (by jeremyfelt):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  4.6 =>


Comment:

 `wp_object_type_exists()` has been removed via [38095].

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37369#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list