Does anyone have this notice on plugin update: “Strict Standards: Creating default object from empty value in /home/wp-content/themes/test/inc/plugins-integration/class-tgm-plugin-activation.php on line 489” ?
Using this from now on. Works like a charm! Thanks Hogash!
We’ve also updated TGM to this version in our latest theme. It’s so sweet. Thank you very much.
Great contribution Hogash!
The only thing I’m wondering is, when you say “when client updates the theme he will be notified”, how exactly are you making your clients update your themes to get that notification? Are you using the Envato Wordpress Toolkit? What happens if a client uses ftp to update the theme (overrides all the files manually), do they still get notified?
@Cubell, it doesn’t matter how the theme gets updated. It’s enough for you to update the plugins.php file in your theme and the user will be notified.
This is amazing. Maybe you should pull request on official github repo ?
(Note: I am the developer of TGM Plugin Activation).
I have just pushed out version 2.4.0 (March 17, 2014), which addresses many of the issues found in previous versions. I highly encourage you to check out the updated version and use that in your themes, as it fixes nearly all of the listed bugs and incompatibilities with the theme check process. It is also more efficient as well.
I highly encourage you to check out the update: http://tgmpluginactivation.com/
Just wanted to thank you for your wonderful work.
Best regards, Stefan
awesome, we will be updating our TGM files then.. thanks for the work
Thanks for the great work, but it doesn’t seem to work like it should. If one of the plugins is out of date i simply get the notice. But there is no option for the user to update the plugin.
This is how it currently looks:
This is how Stefan’s version looks:
You’ll see the difference. With your version i do get the notice, but there’s absolutely no way to update the plugin.