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.
Work around all the changes to the various admin notice classes between WP 4.4 and 3.7 (lowest WP version currently supported by TGMPA).
I tested both the earlier PRs and still found the display results quite inconsistent across WP versions.
Turned out to be a little more complex altogether to figure out what classes would bring the best balance between consistency and getting the message across.
For posterity, here is an overview of the main differences in display between WP versions and used classes. The blocks highlighted in red are the choices I have now made and implemented.
Semi-consistent display of the admin notice.
Fixes #478, #495. Props @Ninos, @primozcigler
Work around all the changes to the various admin notice classes between WP 4.4 and 3.7 (lowest WP version currently supported by TGMPA).
I tested both the earlier PRs and still found the display results quite inconsistent across WP versions. Turned out to be a little more complex altogether to figure out what classes would bring the best balance between consistency and getting the message across.
For posterity, here is an overview of the main differences in display between WP versions and used classes. The blocks highlighted in red are the choices I have now made and implemented.