[wp-trac] Re: [WordPress Trac] #8317: New installs: admin has
user_level 0
WordPress Trac
wp-trac at lists.automattic.com
Sun Nov 23 04:21:45 GMT 2008
#8317: New installs: admin has user_level 0
-------------------------------+--------------------------------------------
Reporter: Mr Pete | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: General | Version: 2.5
Severity: normal | Resolution:
Keywords: reporter-feedback |
-------------------------------+--------------------------------------------
Comment (by Mr Pete):
My bad, yes it's globalized $user_level, not $current_user.
I easily replicated by downloading a fresh copy of any rev from 2.5 to 2.7
and installing from scratch.
It does not affect the core... it affects any plugin that uses
$user_level.
The code AND documentation say that $user_level will someday be
deprecated. But not now.
Perhaps the "fix" is to explicitly deprecate the old globals now :)
--
Ticket URL: <http://trac.wordpress.org/ticket/8317#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list