[wpmu-trac] Re: [WordPress MU Trac] #384: Call to undefined function: wp_get_current_user()

WordPress MU Trac wpmu-trac at lists.automattic.com
Sun Feb 17 00:41:20 GMT 2008


#384: Call to undefined function: wp_get_current_user()
------------------------+---------------------------------------------------
 Reporter:  omry        |        Owner:  donncha
     Type:  defect      |       Status:  new    
 Priority:  normal      |    Milestone:         
Component:  component1  |      Version:  1.0    
 Severity:  normal      |   Resolution:         
 Keywords:              |  
------------------------+---------------------------------------------------
Changes (by RavanH):

  * owner:  somebody => donncha
  * status:  reopened => new

Comment:

 According to the error, it is the call for wp_get_current_user() inside
 the function current_user_can (in capabilities.php) that causes the error.

 In the eShop plugin (http://www.quirm.net/page.php?id=39), there is a call
 for the current_user_can function. But removing that call does not get rid
 of the error. In the YAK plugin, there is no call for current_user_can at
 all...

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/384#comment:3>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list