WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 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:

Description

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

Download all attachments as: .zip

Change History (2)

filosofo6 years ago

comment:1 markjaquith6 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.