You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since mid-February we offer a _"Custom TGMPA Generator"_. From now on, that is the preferred way for downloading your copy of TGMPA for use in a theme or plugin.
6
+
If you download TGMPA using the _Custom TGMPA Generator_ and indicate that it is for a theme which will be published on wordpress.org, you will receive a copy which will pass the Theme Check review.
7
+
8
+
You can find the _Custom TGMPA Generator_ on the [download] page of the website. For more information, read the [related blog post].
9
+
10
+
***Bug fixes**:
11
+
- Fixed minor/low-impact security vulnerability. Thanks [Mohamed A. Baset] for reporting. If *you* find a security vulnerability, please disclose responsibly! [#487], [#505]
12
+
- Fixed a bug where action links on the WP native plugins page would not be properly filtered. [#458], [#459]
13
+
- Fixed a bug where TGMPA when included within a plugin would be recognized as the plugin instead of the *real* plugin. Thanks [weavertheme] and [Mika Epstein] for reporting. [#499], [#500], [#558]
14
+
- Fixed an install error when trying to bulk-install an already installed plugin. Thanks [Ahmad Awais] for reporting. [#496], [#504]
15
+
- Fixed an update error when trying to bulk-update a plugin which is not installed. Thanks [Gary Jones] for reporting. [#442], [#508]
- Fixed an issue resulting in notices about installed/updated plugins on the bulk install/update pages being displayed at the top of the page instead of inline. [#510], [#511]
18
+
19
+
***Enhancements**:
20
+
- The full admin notice is now only displayed to users who can install/update/activate plugins. A limited _"Contact the site admin."_ notice is shown to select users if it pertains to _required_ plugins. The selection of which users get to see this last message is based on the `publish_posts` (=Author) capability. This capability is however filterable using the new `tgmpa_show_admin_notice_capability` filter. Thanks [Stanislav Khromov], [Gary Jones], [Mickey Kay], [Ollie Treend] for suggesting. [#190], [#414], [#489], [#507]
21
+
- The example file now shows examples of different ways for including TGMPA based on the context in which you are using it. Props [Emil Uzelac] for the suggestion. [#469], [#503]
22
+
- Force deactivated plugins will now show in the 'recently active' plugins list. [#577]
23
+
24
+
***I18N improvements**:
25
+
- Improved some text strings and translator messages. Props [Rami]. [#516]
26
+
- Added translator messages for all strings with variable replacement.[#563]
27
+
- Added `load_textdomain()` calls. [#521]
28
+
- Added translations for Brazilian Portuguese, Croatian, Czech, Dutch, French, German, Russian and Swedish [#450], [#574], [#570], [#465], [#524], [#528], [#543], [#561] with grateful thanks to [Elvis Henrique Pereira], [Denis Žoljom], [Karolína Vyskočilová], [geoclaps], [Hedi Chaibi], [Marciel Bartzik], [Vladislav Burlak] and [Lewis Porter].
29
+
Additionally translations for Australian English, Canadian English, British English, Esperanto, Spanish, Hebrew, Italian, Romanian and Serbian were added based on existing translations available in GlotPress. [#564]
30
+
31
+
Altogether, this means that for the first version of TGMPA which ships with translation files, we're covering 17 locales, which is awesome!
32
+
More translations are of course welcome, so please send the .po file(s) in as a pull request.
33
+
34
+
_Please note: If you download TGMPA using the custom generator and indicate it's for a theme to be hosted on wordpress.org, you will receive a version without the `load_textdomain()` calls or the translation files.
35
+
Theme check rules dictate that you should only use one textdomain in your theme and the localization calls will be adjusted to use your theme's textdomain.
36
+
As most TGMPA strings have a lot of translations available in GlotPress already, this should not cause any real issues._
37
+
38
+
***Housekeeping**:
39
+
- Various other minor improvements and keeping things in line with WP core. [#512], [#513], [#514], [#532] - thanks [Utkarsh Patel], [#562], [#571]
40
+
- Updated the included example plugin to comply to the latest standards. [#557]
41
+
- Regenerated .pot file.
42
+
43
+
3
44
## 2.5.2 (2015-07-15)
4
-
* Hot Fix: fixes potential `Fatal error: Call to protected TGM_Plugin_Activation::__construct()` error and other compatibility issues when both TGMPA 2.5+ as well as TGMPA 2.3.6- would be loaded by different themes and plugins.
45
+
* Hot Fix: fixes potential `Fatal error: Call to protected TGM_Plugin_Activation::__construct()` error and other compatibility issues when both TGMPA 2.5+ as well as TGMPA 2.3.6- would be loaded by different themes and plugins.[#449]
5
46
6
47
Take note: We do **NOT** support 2.3.6 anymore and **_highly_** discourage its use. Any themes and plugins still using TGMPA 2.3.6 or less should upgrade as soon as possible. All the same, the end-user should not be confronted with white screens because of it, so this hot fix should prevent just that.
7
48
8
49
## 2.5.1 (2015-07-13)
9
50
10
-
* Hot Fix: fixes potential `Fatal error: Call to undefined method TGM_Utils::validate_bool()` errors caused by a conflict with the Soliloquy plugin.
51
+
* Hot Fix: fixes potential `Fatal error: Call to undefined method TGM_Utils::validate_bool()` errors caused by a conflict with the Soliloquy plugin.[#446]
11
52
12
53
## 2.5.0 (2015-07-03)
13
54
@@ -28,11 +69,11 @@ TGMPA will start providing localized text strings soon. If you already have tran
28
69
- If a plugin requires a certain minimum version of a plugin and the currently installed version does not comply, activation will be blocked until the user has upgraded the plugin. If the plugin is already active, it will not be deactivated however.
29
70
* If the required plugin version itself requires a higher WP version than the currently installed WP, upgrade to that version of the plugin will be blocked - this is of course provided TGMPA has access to that information -.
30
71
- The plugin action links on the WP native plugins page will reflect this too - including disabling deactivation if _force_activation_ is `true` for a plugin.
31
-
72
+
32
73
[#381], [#192], [#197] Props [Zauan/Hogash Studio], [Christian], [Franklin Gitonga], [Jason Xie], [swiderski] for their preliminary work on this which inspired this full-fledged implementation.
33
74
34
75
* Enhancement: **Better support for GitHub hosted plugins**.
35
-
76
+
36
77
Previously using standard GitHub packaged zips as download source would not work as, even though the plugin would be installed, it would not be recognized as such by TGMPA because of the non-standard directory name which would be created for the plugin, i.e. `my-plugin-master` instead of `my-plugin`. A work-around for this has been implemented and you can now use GitHub-packaged `master` branch or release zips to install plugins. Have a look at the `example.php` file for a working example.
37
78
38
79
One caveat: this presumes that the plugin is based in the root of the GitHub repo and not in a `/src` or other subdirectory.
@@ -44,7 +85,7 @@ TGMPA will start providing localized text strings soon. If you already have tran
44
85
Some plugins may have a free and a premium version using different slugs. Using the `is_callable` plugin parameter allows for the premium version to be recognized, even though the slug is set to the free version slug. Have a look at the `example.php` file for a working example.
45
86
46
87
For more information on what is considered a `callable`, please refer to the [Codex on callbacks].
47
-
88
+
48
89
[#205] Props [Zack Katz].
49
90
50
91
***Admin Page improvements**:
@@ -67,6 +108,7 @@ TGMPA will start providing localized text strings soon. If you already have tran
67
108
***Miscellaneous fixes**:
68
109
- Leaner loading: TGMPA actions will now only be hooked in and run on the back-end (`is_admin() returns true`). [#357] Also most TGMPA actions will now only be hooked in if there's actually something to do for TGMPA. [#381]
69
110
- Fixed: _"Undefined index: skin_update_failed_error"_[#260], [#240] Thanks [Parhum Khoshbakht] and [Sandeep] for reporting.
111
+
- Fixed: Installation of bundled plugins with uppercase letters in the plugin slug would fail. [#401], [#403] Thanks [steveboj] for reporting.
70
112
- Made admin URLs environment aware by using `self_admin_url()` instead of `admin_url()` or `network_admin_url()`. [#255], [#171]
71
113
- Fixed: the Adminbar would be loaded twice causing conflicts (with other plugins). [#208] Props [John Blackbourn].
72
114
- All TGMPA generated pages will now show the version number on the page to assist in debugging. [#399], [#402]
@@ -75,7 +117,7 @@ TGMPA will start providing localized text strings soon. If you already have tran
- Language strings which are being overridden should use the including plugin/theme language domain. [#217] Props [Christian Foellmann].
77
119
- Language strings are loaded a bit later now to ensure that the translations are loaded beforehand. [#176], [#177] Props [Yakir Sitbon].
78
-
120
+
79
121
***New action and filter hooks for TGMPA**:
80
122
-`tgmpa_load` - _filter_ can be used to overrule whether TGMPA should load. Defaults to loading only when on the WP back-end when not `DOING_AJAX`. Typical use: `add_filter( 'tgmpa_load', '__return_true' );`.
81
123
-`tgmpa_admin_menu_args` - _filter_ can be used to filter the arguments passed to the function call adding the TGMPA (sub) menu page.
@@ -86,15 +128,15 @@ TGMPA will start providing localized text strings soon. If you already have tran
86
128
-`tgmpa_{$prefix}plugin_action_links` - _filter_ mirrors the WP core [{$prefix}plugin_action_links] filter but for the TGMPA page.
87
129
-`tgmpa_update_bulk_plugins_complete_actions` - _filter_ mirrors the WP core [update_bulk_plugins_complete_actions] filter but for TGMPA bulk actions.
88
130
-`tgmpa_after_plugin_row_{$item['slug']}` - _action_ similar (but not the same) as the WP core [after_plugin_row_{$plugin_file}] action. Can be used to add information to a plugin row in the TGMPA table.
89
-
131
+
90
132
[#188], [#226], [#300], [#357], [#362], [#381], [#388], [#389], [#390] Props [Zack Katz] and the TGMPA team.
91
133
92
134
***Housekeeping**:
93
135
- Applied a number of best practices and code simplifications.
94
136
*[#284], [#281] - props [Ninos Ego],
95
137
*[#286] - props [krishna19],
96
138
*[#178], [#180], [#182], [#183] - thanks [Gregory Karpinsky] for reporting,
0 commit comments