[wp-hackers] Plugin main file name

Andrew Ozz admin at laptoptips.ca
Tue Aug 26 05:00:15 GMT 2008


Stephen Rider wrote:
> Or... What?  Each plugin compares its shared file version against one 
> recorded in the settings table?

Don't even need to do that. The include path to the latest version of 
the file is saved in the option, so when a plugin loads, it just checks 
if main.php is already loaded and if not, gets the path from the option 
and includes it.





More information about the wp-hackers mailing list