WordPress.org

Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#187 closed defect (bug)

User level limit on plugins page wrong

Reported by: erikD Owned by: Kitten
Milestone: Priority: normal
Severity: minor Version:
Component: General Keywords:
Focuses: Cc:

Description

When you are user level 8 and try to access the plugins you get a message saying you must be at least user level 8. The following code in wp-plugins(line 32) shows the problem:

if ($user_level < 9) Must be at least level 9

die (("Sorry, you must be at least a level 8 user to modify plugins."));

The bug is in both 1.2 and the current CVS

Attachments (1)

0000187-plugins.php (636 bytes) - added by erikD 14 years ago.

Download all attachments as: .zip

Change History (4)

#2 @Kitten
15 years ago

  • Owner changed from anonymous to Kitten
  • Status changed from new to assigned

#3 @Kitten
15 years ago

  • Status changed from assigned to closed

Fixed in diff, updates the error message to the correct level, 9

Note: See TracTickets for help on using tickets.