Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#18511 closed defect (bug) (fixed)

Quick Edit: use taxonomy cap for assigning terms

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

Description

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 15 years ago.

Download all attachments as: .zip

Change History (3)

#1 @SergeyBiryukov
15 years ago

  • Milestone Awaiting Review → 3.3

#2 @markjaquith
15 years ago

  • Resolution → fixed
  • Status new → 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.