With the advent of pluggable-functions.php, plugins cannot assume that
all core functions are loaded when the plugin is first run (Notably
get_currentuserinfo). Plugins that call get_currentuserinfo() or other
pluggable functions during init should probably do their init in
response to the ‘plugins_loaded’ or ‘init’ actions rather than at plugin
load time.
Ryan
I found this, it seems to be relevant. I haven’t been able to figure out how to control code execution with hooks, so I have not tested these hooks yet…