[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:14:29 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:  3.7.1
Component:  Upgrade/Install  |     Version:  3.7
 Severity:  blocker          |  Resolution:
 Keywords:                   |
-----------------------------+--------------------

Comment (by georgestephanis):

 I'm not quite sold on a ternary here, but figured I'd kick it in.  I think
 I prefer the original patch more, though, as it's more understandable to
 read, and we'd have a spot to add a `doing_it_wrong()` call.

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


More information about the wp-trac mailing list