[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
Wed Oct 30 19:50:38 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 jrf):
@dd32 WP 3.6 had just come out when I was working on that bit of WPSEO -
checking for meta description tag in the header file of the current theme
- and I wanted to make it as lean as possible. The
upgrader_process_complete hook with a check for theme and action=upgrade
seemed the leanest way to do it when a theme would be upgraded. The
alternative for pre-WP3.6 was abusing a filter which is something I'd
rather not do.
Anyway, a new version of WP SEO has been released by now which includes a
fix.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25690#comment:21>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list