bemailr / wp-requirements

Check server and site conditions before activating your WordPress plugin or theme
http://bemailr.github.io/wp-requirements/
GNU General Public License v3.0
7 stars 1 forks source link

Checking for "any version" #22

Closed tivnet closed 8 years ago

tivnet commented 8 years ago

It is possible today to check for any version of a plugin by leaving the version blank or 0. However, the message looks ugly. Need to check if the version is blank and use a different message.

slaFFik commented 8 years ago

What's the point of such check? If you want to check that this plugin is installed no matter which version - why not just check for any of its functions/classes? See #6

tivnet commented 8 years ago

That's two separate issues. This one is just a matter of tweaking the error message. Easy thing.

slaFFik commented 8 years ago

Ok, agree. After some thinking I start to see a value in different messages like "function _name doesn't exist" vs "plugin X of any version is not activated"

tivnet commented 8 years ago

bc28ef26bfc5d78b5b78857c49e22b08a181583e