Make WordPress Core

Opened 19 years ago

Closed 19 years ago

#6940 closed defect (bug) (fixed)

User user caps instead of levels

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

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

Download all attachments as: .zip

Change History (2)

#1 @markjaquith
19 years ago

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