[wpmu-trac] Re: [WordPress MU Trac] #384: Call to undefined
function: wp_get_current_user()
WordPress MU Trac
wpmu-trac at lists.automattic.com
Mon Mar 3 15:55:54 GMT 2008
#384: Call to undefined function: wp_get_current_user()
------------------------+---------------------------------------------------
Reporter: omry | Owner: donncha
Type: defect | Status: closed
Priority: normal | Milestone:
Component: component1 | Version: 1.0
Severity: normal | Resolution: invalid
Keywords: |
------------------------+---------------------------------------------------
Comment (by RavanH):
UPDATE:
I found that the plugin does a
{{{
require_once(ABSPATH . 'wp-admin/upgrade-functions.php');
}}}
BEFORE it does
{{{
require_once(ABSPATH . 'wp-includes/pluggable.php');
}}}
Reversing these includes resolves the issue... Strange how this does NOT
result in an error on WP 2.3.3, but it DOES on WP_MU 1.3.3 !
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/384#comment:6>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list