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

Using as plugin: Conflict with themes #572

Closed nilsbyte closed 8 years ago

nilsbyte commented 8 years ago

I am using this as a plugin to install often used plugins with ease. Unfortunately many themes use TGM and cause some kind of conflict with my plugin. Either the contents of the theme-based TGM and my plugin are merged or i get a HTTP 500 after activating my plugin.

Is it possible to adjust everything so that it would not collide with already present TGM instances?

jrfnl commented 8 years ago

@nilsbyte Please provide us with more detail. In principle those issues have all been solved in recent TGMPA versions, however, we have no power to force themes/plugins to upgrade the version they include and some may still include the (very) old buggier versions.

As plugins are loaded before themes, if you make sure your plugin includes the latest version of TGMPA, this should solves things 98% of the times. For the other 2%, contact the theme developer to upgrade the version of TGMPA they include and - until they do - replace the version included in the theme in your install with the current version of TGMPA.

As for the theme and plugin TGMPA page being 'merged' - that's by design.

Hope that answers your question.

jrfnl commented 8 years ago

@nilsbyte Just checking: can we close this issue ? If not, please let us know how we can help.

GaryJones commented 8 years ago

Closing for lack of response.