Make WordPress Core

Opened 19 years ago

Closed 19 years ago

#2921 closed defect (bug) (worksforme)

Default user (admin) has no user_level

Reported by: ketsugi's profile ketsugi Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.1
Component: Administration Keywords:
Focuses: Cc:

Description

When doing a fresh install of WordPress, the default user (admin) has role set to "Administrator", but looking at the usermeta table there is no setting of his wp_user_level to 10 (the row is missing altogether). This breaks plugins which rely on checking the global $user_level variable.

Change History (2)

#1 @darkfate
19 years ago

So, it's the plugins problem. There might be a reason for not setting it to 10.

#2 @darkfate
19 years ago

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

Also, using 2.0.3, 2.0.4 beta, and the latest svn trunk of 2.1, I see that they all have a meta value of 10.

Note: See TracTickets for help on using tickets.