[wp-hackers] Plugin initialization and pluggable functions

David Chait davebytes at comcast.net
Tue May 10 19:18:29 GMT 2005

Is this something new in 1.5.1?  If so, would have been nice to get advance 
warning out to plugin authors.  (At least, it's the first I've heard of 
it... don't know yet how it'll affect my stuff!) ;)

This in an effort to allow plugins to replace certain functionality, or in 
an effort to reduce loaded code?


----- Original Message ----- 
From: "Ryan Boren" <ryan at boren.nu>
To: <wp-hackers at lists.automattic.com>
Sent: Tuesday, May 10, 2005 2:45 PM
Subject: [wp-hackers] Plugin initialization and pluggable functions

> 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
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list