Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#38284 closed defect (bug) (invalid)

add capabilities for edit_{$object}_meta

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


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 8 years ago.
adds capabilities and updates unit tests

Download all attachments as: .zip

Change History (4)

8 years ago

adds capabilities and updates unit tests

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

8 years ago

#2 @tharsheblows
8 years ago

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

I'm closing in favour of #38303

#3 @netweb
8 years ago

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