[wp-hackers] How do I prevent activation of plugin is below PHP 5?

Raj list at expost.org
Fri Jul 9 05:41:38 UTC 2010


Hi all,

 

I am getting a lot of emails from users of my plugin who are running it on
PHP 4.x and are seeing errors. How do I prevent the plugin from being
activated if the version of PHP is below PHP 5-? What should a plugin do to
not get activated? Meaning.. to signal to Wordpress that the activation
should be cancelled. 

 

Raj



More information about the wp-hackers mailing list