[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 03:21:19 UTC 2013


#25690: PHP Fatal error:  Call to undefined function wp_get_current_user() when
upgrading to version 3.7
-----------------------------+---------------------
 Reporter:  ascom            |       Owner:  nacin
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  3.7.1
Component:  Upgrade/Install  |     Version:  3.7
 Severity:  blocker          |  Resolution:  fixed
 Keywords:                   |
-----------------------------+---------------------

Comment (by nacin):

 In [changeset:"25930"]:
 {{{
 #!CommitTicketReference repository="" revision="25930"
 Have get_current_user_id() return 0 when pluggable.php is not yet included
 (which brings the ability to set or get the current user).

 Merges [25929] to the 3.7 branch.

 fixes #25690.
 }}}

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25690#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list