WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#38284 closed defect (bug) (invalid)

add capabilities for edit_{$object}_meta

Reported by: tharsheblows Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.6
Component: Role/Capability Keywords:
Focuses: Cc:

Description

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.

Attachments (1)

38284.diff (5.2 KB) - added by tharsheblows 5 years ago.
adds capabilities and updates unit tests

Download all attachments as: .zip

Change History (4)

@tharsheblows
5 years ago

adds capabilities and updates unit tests

This ticket was mentioned in Slack in #core-restapi by tharsheblows. View the logs.


5 years ago

#2 @tharsheblows
5 years ago

  • Keywords close added
  • Resolution set to invalid
  • Status changed from new to closed

I'm closing in favour of #38303

#3 @netweb
5 years ago

  • Keywords close removed
  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.