[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:19:42 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:                   |
-----------------------------+---------------------
Changes (by nacin):

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"25929"]:
 {{{
 #!CommitTicketReference repository="" revision="25929"
 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).

 fixes #25690 for trunk.
 }}}

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


More information about the wp-trac mailing list