Make WordPress Core

Opened 9 years ago

Closed 8 years ago

#18511 closed defect (bug) (fixed)

Quick Edit: use taxonomy cap for assigning terms

Reported by: lancewillett Owned by:
Milestone: 3.3 Priority: normal
Severity: normal Version:
Component: Quick/Bulk Edit Keywords: has-patch
Focuses: Cc:


When assigning tags via the Quick Edit form in the posts list, currently no check is made for whether or not the current user has permission to assign terms.

The normal post edit form disables the terms textarea if the cap check fails: see http://core.trac.wordpress.org/browser/trunk/wp-admin/includes/template.php#L103.

Related (but not in patch): there doesn't seem to be a way to disable assigning categories -- or any hierarchical taxonomy -- from the Quick Edit form.

Attachments (1)

18551.diff (783 bytes) - added by lancewillett 9 years ago.

Download all attachments as: .zip

Change History (3)

9 years ago

#1 @SergeyBiryukov
9 years ago

  • Milestone changed from Awaiting Review to 3.3

#2 @markjaquith
8 years ago

  • Resolution set to fixed
  • Status changed from new to closed

In [19010]:

Use the correct capability check for taxonomies in Quick Edit. props lancewillett. fixes #18511
Note: See TracTickets for help on using tickets.