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 #1

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

Please upgrade TGMPA to latest version #1

jrfnl opened this issue Jul 10, 2015 · 3 comments

Comments

@jrfnl
Copy link

jrfnl commented Jul 10, 2015

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

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

@pemaxim
Copy link

pemaxim commented Jul 15, 2015

Thank you for the update. Unfortunately, we modified a lot to cover our needs and there is no ability to update your library to the latest version. However, we fixed security issues mentioned in Changelog.
Regards.

@pemaxim pemaxim closed this as completed Jul 15, 2015
@jrfnl
Copy link
Author

jrfnl commented Jul 15, 2015

@pemaxim Sorry to hear that as you are missing out on some of the new features and also might well be breaking things for sites which have multiple plugins/themes which use TGMPA.

In the newer version we've made it easier to extend the class(es) so you can overload methods while still maintaining compatibility for other plugins/themes also using TGMPA.
You might want to look into that at some point.

@pemaxim
Copy link

pemaxim commented Jul 17, 2015

@jrfnl We wrapped TGMPA to namespace convention and did some changes to prevent breaking plugins/themes which use TGMPA. So plugins/themes which use lib-wp-bootstrap library should not cause errors. Anyway, we will do QA to be sure that our library has no conflicts with the latest TGMPA version. And, of course, we will be happy to look into the latest TGMPA version. Thank you.
Regards.

# 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

2 participants