Make WordPress Core

Opened 20 years ago

Closed 20 years ago

#187 closed defect (bug)

User level limit on plugins page wrong

Reported by: erikd's profile erikD Owned by: kitten's profile 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 20 years ago.

Download all attachments as: .zip

Change History (4)

#2 @Kitten
20 years ago

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

#3 @Kitten
20 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.