[wp-trac] Re: [WordPress Trac] #8317: New installs: admin has user_level 0

WordPress Trac wp-trac at lists.automattic.com
Sun Nov 23 00:32:38 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  |  
-------------------------------+--------------------------------------------
Changes (by DD32):

  * keywords:  => reporter-feedback

Comment:

 I cant reproduce it.

 After globalising $user_level instad:
 {{{
 global $user_level;
 get_currentuserinfo();
 echo "level:".$user_level."<br />";
 }}}

 and running that code 2 page loads after a clean install, it appears to be
 working for me.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8317#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list