[wp-trac] [WordPress Trac] #35658: Provide additional data for registered meta through register_meta()

WordPress Trac noreply at wordpress.org
Wed Jul 6 18:27:06 UTC 2016


#35658: Provide additional data for registered meta through register_meta()
-------------------------------------------------+-------------------------
 Reporter:  jeremyfelt                           |       Owner:  helen
     Type:  task (blessed)                       |      Status:  accepted
 Priority:  high                                 |   Milestone:  4.6
Component:  Options, Meta APIs                   |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  needs-unit-tests needs-testing has-  |     Focuses:
  patch rest-api needs-dev-note                  |
-------------------------------------------------+-------------------------

Comment (by sc0ttkclark):

 Bringing this in from the changeset that didn't reference the ticket
 properly

 In [changeset:"37991"]:
 {{{
 #!CommitTicketReference repository="" revision="37991"
 Meta: Make registration error conditions return consistently.

 In doing this, non-core object types are no longer forcibly blocked and
 are instead checked against `wp_object_type_exists()` which has a
 filterable return value. Still, filter that at your own risk.

 props Faison for the initial patch.
 see #35658.
 }}}

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


More information about the wp-trac mailing list