Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#6940 closed defect (bug) (fixed)

User user caps instead of levels

Reported by: filosofo Owned by:
Milestone: 2.6 Priority: normal
Severity: normal Version:
Component: General Keywords: user-level has-patch capability current_user_can
Focuses: Cc:


Only two places in core still use user levels instead of capabilities, and unnecessarily so. My patch removes them.

Attachments (1)

user_level_to_caps.diff (997 bytes) - added by filosofo 8 years ago.

Download all attachments as: .zip

Change History (2)

#1 @markjaquith
8 years ago

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

(In [7912]) Remove last remaining user level checks in favor of capabilities checks. props filosofo. fixes #6940

Note: See TracTickets for help on using tickets.