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

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 26 00:40:44 GMT 2008

#8317: New installs: admin has user_level 0
 Reporter:  Mr Pete  |        Owner:  jacobsantos
     Type:  defect   |       Status:  new        
 Priority:  normal   |    Milestone:  2.8        
Component:  Upgrade  |      Version:  2.5        
 Severity:  major    |   Resolution:             
 Keywords:           |  
Comment (by ryan):

 We return by reference in places where we really don't need to. Obviously
 get_role() is a place where we need to.  Can you create a patch that uses
 "& get_role()" everywhere?

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

More information about the wp-trac mailing list