TGMPA / TGM-Plugin-Activation

TGM Plugin Activation is a PHP library that allows you to easily require or recommend plugins for your WordPress themes (and plugins). It allows your users to install, update and even automatically activate plugins in singular or bulk fashion using native WordPress classes, functions and interfaces. You can reference bundled plugins, plugins from the WordPress Plugin Repository or even plugins hosted elsewhere on the internet.
http://tgmpluginactivation.com/
GNU General Public License v2.0
1.76k stars 429 forks source link

Incorrect Message on Plugin installation fail. #642

Closed wpexplorer closed 7 years ago

wpexplorer commented 7 years ago

The last else statement of the activate_single_plugin function returns the 'plugin_needs_higher_version' notice, however, this check is performed prior the message needs to be something else more generic like "Plugin can not be activated."

jrfnl commented 7 years ago

@wpexplorer I don't understand your issue. The last else you refer to is wrapped within the $this->does_plugin_require_update( $slug ) check, so I see nothing wrong with the message.

jrfnl commented 7 years ago

Closing for lack of activity. If you have more information available, please add it to this issue and I'd be happy to reopen.