[wp-trac] [WordPress Trac] #38284: add capabilities for edit_{$object}_meta

WordPress Trac noreply at wordpress.org
Tue Oct 11 16:02:35 UTC 2016


#38284: add capabilities for edit_{$object}_meta
-----------------------------+-----------------------------
 Reporter:  tharsheblows     |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Role/Capability  |    Version:  4.6
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 `register_meta` has an arg `auth_callback` which adds a filter to
 `auth_{$object_type}_meta_{$meta_key}`

 There's an `auth_post_meta_{$meta_key}` filter in the `edit_post_meta`
 capability case but cases for term, user and comment meta still need to be
 added.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38284>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list