Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Please upgrade TGMPA to latest version #176

Closed
jrfnl opened this issue Jul 10, 2015 · 4 comments
Closed

Please upgrade TGMPA to latest version #176

jrfnl opened this issue Jul 10, 2015 · 4 comments

Comments

@jrfnl
Copy link

jrfnl commented Jul 10, 2015

We noticed you are using the TGM Plugin Activation library in your plugin.

You are using an old version. The latest version (2.5.0) fixes some - published - security issues as well as offering tons of bug fixes and new features.

We would like to urge you to upgrade to the latest version of TGMPA. You can download the latest version and view the changelog at http://tgmpluginactivation.com/download/

When you upgrade, you may also want to adjust the config you use as some settings were deprecated in v2.4.0 and new ones introduced in v2.5.0.

For more information on the current settings: http://tgmpluginactivation.com/configuration/

Most notable changes:

  • you may want to add the is_callable setting to the plugins array for plugins which offer both a free and a premium version - see https://github.com/TGMPA/TGM-Plugin-Activation/blob/2.5.0/example.php#L91
  • the 'parent_menu_slug' and 'parent_url_slug' config options were removed in 2.4.0. Similar functionality was re-introduced in 2.5.0 with the 'parent_slug' and 'capability' config options.
  • A number of new strings were introduced. If you have translations available, you may want to consider giving back as TGMPA intends to start providing native translations.

The up-to-date example file can be found here: https://github.com/TGMPA/TGM-Plugin-Activation/blob/2.5.0/example.php

If you would like to stay informed of new updates and developments, please follow the TGMPA account on Twitter.

Kind regards,
The TGMPA team

DavidWells added a commit that referenced this issue Jul 10, 2015
@DavidWells
Copy link
Member

thanks for the note. We have updated

@jrfnl
Copy link
Author

jrfnl commented Jul 10, 2015

Thanks!

@atwellpub
Copy link
Member

@DavidWells @jrfnl

We have a fatal on Landing Pages plugin when we try to activate with the new version:

Fatal error: Call to undefined method TGM_Utils::validate_bool() in /wp-content/plugins/landing-pages6/libraries/class-tgm-plugin-activation.php on line 1232

Looks like TGM_Utils is not present at activation.

@jrfnl
Copy link
Author

jrfnl commented Jul 12, 2015

@atwellpub Can you please try to download & re-install ? Sounds to me like a download/unpack file corruption.

The requested method exists in the TGMPA library version now included in the LP plugin and is loaded in at the same time as the calling line you refer to:
https://github.com/inboundnow/landing-pages/blob/master/libraries/class-tgm-plugin-activation.php#L3480

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants