[wp-hackers] readme.txt: "Requires PHP 5 tag"
latz at elektroelch.de
Wed Jul 15 08:27:43 UTC 2009
> Don't rely on users, they're invariably idiots. ;)
> Make your plugin smarter instead.
> register_activation_hook(__FILE__, 'plugin_activation_check');
My problems aren't those who update through the backend but those who
update manually (downloading from wp.org, unzipping, uploading to blog).
I think I'm going to check for the PHP version and print a big hint in
the backend (maybe even in the dashboard), and add a small hint in the
blog and only execute PHP4 code, so that the blog will not stop from
BTW: I stopped the auto-update by using
add_filter('option_update_plugins', 'plugin_prevent_upgrade');. Works
for me, I will blog this solution soon (or you can look it up in the
More information about the wp-hackers