[wp-hackers] How to determine install version of MySQL?

Renato Covarrubias rnt at bla.cl
Tue Jan 22 18:21:32 GMT 2008

El Martes 22 Enero 2008, Williams Phillip escribió:
> The conversation here awhile back regarding SQL queries brought up an
> issue that I have with a my archive filter plug-in. To filter the the
> archives I am using a query similar to the one in wp_get_archive.
> However, there is a subquery that I use to limit the posts to those
> included (or excluded) from specified categories. Since WP supports
> older versions of MySQL that do not support subqueries, the plug-in
> would not work.
> Is there a hook/method that I could use to not allow the plug-in to
> be activated unless MySQL is v5 or better?


Renato Covarrubias Romero	-	counter.li.org  #399677
rnt [at] bla.cl

More information about the wp-hackers mailing list