[wp-hackers] Plugin dependency checking

Stephen Rider wp-hackers at striderweb.com
Wed Jun 17 17:53:45 GMT 2009


On Jun 17, 2009, at 12:39 AM, Eric Marden wrote:

> On Jun 16, 2009, at 6:02 PM, Stephen Rider wrote:
>
>> Certainly within current WordPress plugins it is frowned upon to  
>> look for "WordPress version x.x"; instead coders are encouraged to  
>> look to see if a certain functionality exists.
>
> Couldn't that just be a simple function_exists / method_exists call  
> (in most cases)?

Yes, that is what I was referring to. :)  It's common practice in  
WordPress, but sometimes coders do still check against WP version....


More information about the wp-hackers mailing list