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

WordPress Trac noreply at wordpress.org
Wed Jul 13 04:12:42 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 jeremyfelt):

 In [changeset:"38040"]:
 {{{
 #!CommitTicketReference repository="" revision="38040"
 Meta: Remove filters when meta is unregistered.

 If auth and/or sanitize callbacks are specified in the arguments for
 `register_meta()`, filters are added to handle these callbacks. These
 should be removed when calling `unregister_meta_key()` to avoid
 unintentional filtering.

 See #35658.
 }}}

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


More information about the wp-trac mailing list