[wp-trac] [WordPress Trac] #25690: PHP Fatal error: Call to undefined function wp_get_current_user() when upgrading to version 3.7
    WordPress Trac 
    noreply at wordpress.org
       
    Sat Oct 26 02:53:19 UTC 2013
    
    
  
#25690: PHP Fatal error:  Call to undefined function wp_get_current_user() when
upgrading to version 3.7
-----------------------------+------------------------------
 Reporter:  ascom            |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:  3.6.1
 Severity:  blocker          |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------
Comment (by georgestephanis):
 Related commits: r25689 and the big one of r25669 that swapped out the
 $user_ID global to `get_current_user_id()`
 As Dion said, this is revealing bad practices in plugins and themes.
 Still, it'd be nice for a safety net.  I'll try to pitch a diff tomorrow.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25690#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
    
    
More information about the wp-trac
mailing list