[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
Mon Dec 10 01:12:55 GMT 2007


#5265: current_user_can() can run before wp_get_current_user() is defined
----------------------------+-----------------------------------------------
 Reporter:  Viper007Bond    |        Owner:  anonymous
     Type:  defect          |       Status:  closed   
 Priority:  normal          |    Milestone:           
Component:  Administration  |      Version:  2.3.1    
 Severity:  normal          |   Resolution:  invalid  
 Keywords:                  |  
----------------------------+-----------------------------------------------
Changes (by Viper007Bond):

  * version:  => 2.3.1
  * severity:  blocker => normal

Comment:

 Replying to [comment:5 DD32]:
 > I cant see any reason for pluggable.php to be loaded before
 capabilities.php,

 Because `capabilities.php` is calling a function defined in
 `pluggable.php` ?

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


More information about the wp-trac mailing list