[wp-hackers] Writing plugins with classes

Robert Deaton false.hopes at gmail.com
Sun Feb 25 01:36:30 GMT 2007

I believe this is related to a long standing bug in which files are
reincluded. Its very easy to trigger, I've never bothered to track it
down, but my solution has always been not to use __FILE__ at all, but
rather say "mypooplugin.php" as the filename, because it can't include
a file that doesn't exist, right?

--Robert Deaton

More information about the wp-hackers mailing list