Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#11063 closed defect (bug) (worksforme)

wp_user_level not being defined for admin on clean install

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

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
17 years ago

  • Version → 2.8.5

#2 follow-up: @filosofo
17 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
17 years ago

Something similar fixed in 2.7: #8317

#4 in reply to: ↑ 2 @bonaireguy
17 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
17 years ago

  • Milestone Unassigned → Future Release

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

#6 @bonaireguy
17 years ago

  • Resolution → fixed
  • Status new → 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
17 years ago

  • Milestone Future Release

#8 @nacin
17 years ago

  • Resolution fixed
  • Status closed → reopened

#9 @nacin
17 years ago

  • Resolution → worksforme
  • Status reopened → closed
Note: See TracTickets for help on using tickets.