Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#11063 closed defect (bug) (worksforme)

wp_user_level not being defined for admin on clean install

Reported by: bonaireguy's profile bonaireguy Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.8.5
Component: Upgrade/Install Keywords: wp_user_level, install, admin
Focuses: Cc:

Description

Doing a clean install of WP 2.8.5 does not initialize the wp_user_level value for the "admin" user in the database. It should be set, and set to a value of "10".

This was previously reported for 2.1.x and apparently fixed, but the fix seems to have disappeared.

The lack of the user level for the default admin user is that some plugins prohibit administration. Current workaround is to either manually create the entry in the database or to create an alternate admin user (for which the wp_user_level field is properly created and set to 10).

Change History (9)

#1 @bonaireguy
15 years ago

  • Version set to 2.8.5

#2 follow-up: @filosofo
15 years ago

User levels have been deprecated for years in favor of user capabilities. Any plugins still using levels are horribly outdated and should be fixed.

#3 @dd32
15 years ago

Something similar fixed in 2.7: #8317

#4 in reply to: ↑ 2 @bonaireguy
15 years ago

Replying to filosofo:

User levels have been deprecated for years in favor of user capabilities. Any plugins still using levels are horribly outdated and should be fixed.

Doesn't help when the plug-in in question hasn't been updated in a couple of years (Email Notification by Watershed).

#5 @dd32
15 years ago

  • Milestone changed from Unassigned to Future Release

What PHP version was this under? Does it still occur under 2.9?

#6 @bonaireguy
15 years ago

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

I finally had a chance to check with a new WP install, and this problem has been resolved in WP 2.9.1.

Closing this bug.

#7 @nacin
15 years ago

  • Milestone Future Release deleted

#8 @nacin
15 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

#9 @nacin
15 years ago

  • Resolution set to worksforme
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.