Opened 20 years ago
Closed 20 years ago
#2921 closed defect (bug) (worksforme)
Default user (admin) has no user_level
| Reported by: | ketsugi | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 2.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
So, it's the plugins problem. There might be a reason for not setting it to 10.