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.
Updated js libraries used where new versions where available.
Added version nr to js file headers if none where there to make checking if an upgrade is needed easier for the future.
Add a local fall-back to the jQuery loading just in case the Google CDN goes down again.
Added version nr variable to the js file includes to allow them to break out of the cache/ensure the browser cache will be refreshed with the updated files.
Tested against the current 2.5.2 zip and compared the output against the old version: all ok ;-)Edit: Retesting now, tests were invalid because of a redirect to the live website.
Edit: Reverted the upgrade to JSZip 3.0 and instead upgraded to JSZip 2.6.0, retested and all tests on TGMPA 2.5.2 are ok.
~~* Updated "our" js for the extensive changes in the jszip library Ref: http://stuk.github.io/jszip/documentation/upgrade_guide.html~~ Upgraded the JSZip library from v 2.5.0 to 2.6.0, but not to 3.0.0 as for some reason everything breaks with v3, even when the upgrade guide has been followed to the letter. See: https://github.com/Stuk/jszip/issues/297
Tested against the current 2.5.2 zip and compared the output against the old version: all ok ;-)Edit: Retesting now, tests were invalid because of a redirect to the live website.Edit: Reverted the upgrade to JSZip 3.0 and instead upgraded to JSZip 2.6.0, retested and all tests on TGMPA 2.5.2 are ok.