[wp-hackers] readme.txt: "Requires PHP 5 tag"
Chris Jean
gaarai at gaarai.com
Sat Jul 18 02:49:40 UTC 2009
If you are to ask my opinion, it's really not difficult to make things
PHP4 and PHP5 compatible. I do it each day, and it only requires a
little bit of thought while coding to prevent issues. I simply posted
what I did in case others wanted to provide a good failover mechanism in
case they must be PHP5 only.
Chris Jean
http://gaarai.com/
http://wp-roadmap.com/
Aaron D. Campbell wrote:
> No offense to the PHP 4 users out there, but it's not worth the hassle.
>
> Chris Jean wrote:
>> In other words, you could create a small base plugin file that
>> contained the plugin meta-data to register the plugin and contained
>> nothing more than the version check as Otto described. If the version
>> check passes, load the necessary code from another file included with
>> the plugin.
>>
>> Chris Jean
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list