[wp-trac] Re: [WordPress Trac] #5265: current_user_can() can run before wp_get_current_user() is defined

WordPress Trac wp-trac at lists.automattic.com
Sat Oct 27 11:04:38 GMT 2007


#5265: current_user_can() can run before wp_get_current_user() is defined
----------------------------+-----------------------------------------------
 Reporter:  Viper007Bond    |        Owner:  anonymous
     Type:  defect          |       Status:  new      
 Priority:  normal          |    Milestone:  2.3.2    
Component:  Administration  |      Version:  2.3      
 Severity:  blocker         |   Resolution:           
 Keywords:  needs-patch     |  
----------------------------+-----------------------------------------------
Comment (by Viper007Bond):

 Yeah, I'm being bad in my coding skills (thanks for that slick class start
 code BTW), but still, shouldn't `pluggable.php` be loaded before
 `capabilities.php`?

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


More information about the wp-trac mailing list