[wp-hackers] PHP5

Otto otto at ottodestruct.com
Fri Jan 30 23:48:17 GMT 2009


On Fri, Jan 30, 2009 at 5:09 PM, Will Anderson
<wp-hackers at itsananderson.com> wrote:
> In hopes of distracting the "religious" fanatics I'll add this question to
> the mix.Does the fact that WordPress chooses to support nearly all users
> mean that plugin developers have to?
> If you want to screw things up for 40% of users, can't you write a plugin
> that uses PHP5 constructs?

Yes, and I did just that with the Automatic Timezone plugin. It checks
to see if the plugin will work (basically if you have PHP 5 and up),
and if it won't, then it deactivates itself when you try to activate
it.

-Otto


More information about the wp-hackers mailing list