Skip to content

Commit 6963a59

Browse files
committed
Merge pull request #461 from TGMPA/feature/changelog
Changelog for release 2.6.0.
2 parents c2585ab + 5225396 commit 6963a59

File tree

4 files changed

+170
-39
lines changed

4 files changed

+170
-39
lines changed

CHANGELOG.md

Lines changed: 131 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,54 @@
11
# Changelog for TGM Plugin Activation library
22

3+
## 2.6.0 (2016-05-14)
4+
5+
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]
16+
- Fixed admin notices display class. Props [Ninos Ego] and [Primoz Cigler]. [#478], [#495], [#509]
17+
- 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+
344
## 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]
546

647
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.
748

849
## 2.5.1 (2015-07-13)
950

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]
1152

1253
## 2.5.0 (2015-07-03)
1354

@@ -28,11 +69,11 @@ TGMPA will start providing localized text strings soon. If you already have tran
2869
- 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.
2970
* 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 -.
3071
- 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+
3273
[#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.
3374

3475
* Enhancement: **Better support for GitHub hosted plugins**.
35-
76+
3677
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.
3778

3879
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
4485
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.
4586

4687
For more information on what is considered a `callable`, please refer to the [Codex on callbacks].
47-
88+
4889
[#205] Props [Zack Katz].
4990

5091
* **Admin Page improvements**:
@@ -67,6 +108,7 @@ TGMPA will start providing localized text strings soon. If you already have tran
67108
* **Miscellaneous fixes**:
68109
- 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]
69110
- 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.
70112
- Made admin URLs environment aware by using `self_admin_url()` instead of `admin_url()` or `network_admin_url()`. [#255], [#171]
71113
- Fixed: the Adminbar would be loaded twice causing conflicts (with other plugins). [#208] Props [John Blackbourn].
72114
- 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
75117
- Make configurable message texts singular/plural context aware. [#173] Props [Yakir Sitbon].
76118
- Language strings which are being overridden should use the including plugin/theme language domain. [#217] Props [Christian Foellmann].
77119
- Language strings are loaded a bit later now to ensure that the translations are loaded beforehand. [#176], [#177] Props [Yakir Sitbon].
78-
120+
79121
* **New action and filter hooks for TGMPA**:
80122
- `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' );`.
81123
- `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
86128
- `tgmpa_{$prefix}plugin_action_links` - _filter_ mirrors the WP core [{$prefix}plugin_action_links] filter but for the TGMPA page.
87129
- `tgmpa_update_bulk_plugins_complete_actions` - _filter_ mirrors the WP core [update_bulk_plugins_complete_actions] filter but for TGMPA bulk actions.
88130
- `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+
90132
[#188], [#226], [#300], [#357], [#362], [#381], [#388], [#389], [#390] Props [Zack Katz] and the TGMPA team.
91133

92134
* **Housekeeping**:
93135
- Applied a number of best practices and code simplifications.
94136
* [#284], [#281] - props [Ninos Ego],
95137
* [#286] - props [krishna19],
96138
* [#178], [#180], [#182], [#183] - thanks [Gregory Karpinsky] for reporting,
97-
* [#324], [#325], [#331], [#346], [#356], [#357], [#358], [#359], [#360], [#361], [#362], [#363], [#368], [#371], [#373], [#374], [#375], [#376], [#381], [#385], [#387], [#395], [#397]
139+
* [#324], [#325], [#331], [#346], [#356], [#357], [#358], [#359], [#360], [#361], [#362], [#363], [#368], [#371], [#373], [#374], [#375], [#376], [#381], [#385], [#387], [#395], [#397], [#425], [#426], [#427], [#435]
98140
- Allow for extending of the TGMPA class and fixed issues with PHP 5.2 [#303] which were originally caused by this.
99141
- Tighten the file permissions on our files. [#322]
100142
- Cleaned up some of the documentation. [#179], [#384] Props [Gregory Karpinsky] and the TGMPA team.
@@ -248,45 +290,116 @@ TGMPA will start providing localized text strings soon. If you already have tran
248290

249291

250292

293+
[download]: http://tgmpluginactivation.com/download/
294+
[related blog post]: http://tgmpluginactivation.com/2016/01/15/custom-tgmpa-generator/
251295
[TGMPA/TGM-Plugin-Activation]: https://github.com/TGMPA/TGM-Plugin-Activation
252296
[.pot file]: https://github.com/TGMPA/TGM-Plugin-Activation/blob/develop/languages/
253297

254298

255-
[Christian Foellmann]: https://github.com/cfoellmann
299+
[Ahmad Awais]: https://github.com/ahmadawais
300+
[Chris Howard]: https://github.com/qwertydude
256301
[Chris Talkington]: https://github.com/ctalkington
302+
[Christian Foellmann]: https://github.com/cfoellmann
257303
[Dan Fisher]: https://github.com/danfisher85
304+
[Denis Žoljom]: https://github.com/dingo-d
258305
[djcowan]: https://github.com/djcowan
259-
[Jason Xie]: https://github.com/duckzland
306+
[Elvis Henrique Pereira]: https://github.com/elvishp2006
307+
[Emil Uzelac]: https://github.com/emiluzelac
260308
[Franklin Gitonga]: https://github.com/FrankM1
261309
[Gary Jones]: https://github.com/GaryJones
310+
[geoclaps]: https://github.com/geoclaps
311+
[Gregory Karpinsky]: https://github.com/tivnet
262312
[hamdan-mahran]: https://github.com/hamdan-mahran
263-
[Sandeep]: https://github.com/InsertCart
313+
[Hedi Chaibi]: https://github.com/hedii
314+
[Jason Xie]: https://github.com/duckzland
264315
[Jeff Sebring]: https://github.com/jeffsebring
265316
[John Blackbourn]: https://github.com/johnbillion
266317
[Juliette Reinders Folmer]: https://github.com/jrfnl
267-
[Yakir Sitbon]: https://github.com/KingYes
318+
[Karolína Vyskočilová]: https://github.com/vyskoczilova
268319
[krishna19]: https://github.com/krishna19
320+
[Lewis Porter]: https://github.com/lewisporter
269321
[Luis Martins]: https://github.com/lmartins
270322
[manake]: https://github.com/manake
323+
[Mickey Kay]: https://github.com/MickeyKay
324+
[Mika Epstein]: https://github.com/Ipstenu
325+
[Mohamed A. Baset]: https://github.com/SymbianSyMoh
271326
[Nate Wright]: https://github.com/NateWr
272327
[Ninos Ego]: https://github.com/Ninos
328+
[Ollie Treend]: https://github.com/ollietreend
273329
[Parhum Khoshbakht]: https://github.com/parhumm
274330
[pavot]: https://github.com/pavot
275-
[Chris Howard]: https://github.com/qwertydude
331+
[Primoz Cigler]: https://github.com/primozcigler
332+
[Rami]: https://github.com/ramiy
333+
[Sandeep]: https://github.com/InsertCart
276334
[Shiva Poudel]: https://github.com/shivapoudel
335+
[Stanislav Khromov]: https://github.com/khromov
336+
[steveboj]: https://github.com/steveboj
277337
[swiderski]: https://github.com/swiderski
278338
[tanshcreative]: https://github.com/tanshcreative
279339
[Tim Nicholson]: https://github.com/timnicholson
280-
[Thomas Griffin]: https://github.com/thomasgriffin
281-
[Gregory Karpinsky]: https://github.com/tivnet
282340
[Travis Smith]: https://github.com/wpsmith
341+
[Thomas Griffin]: https://github.com/thomasgriffin
342+
[Utkarsh Patel]: https://github.com/PatelUtkarsh
343+
[Vladislav Burlak]: https://github.com/vburlak
344+
[weavertheme]: https://github.com/weavertheme
345+
[Yakir Sitbon]: https://github.com/KingYes
283346
[Zack Katz]: https://github.com/zackkatz
284347

285-
[Zauan/Hogash Studio]: http://pastebin.com/u/Zauan
286348
[Christian]: http://themeforest.net/user/artless
349+
[Marciel Bartzik]: http://www.bartzik.net/
350+
[Zauan/Hogash Studio]: http://pastebin.com/u/Zauan
287351

288-
352+
[#577]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/577
353+
[#574]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/574
354+
[#571]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/571
355+
[#570]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/570
356+
[#564]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/564
357+
[#563]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/563
358+
[#562]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/562
359+
[#561]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/561
360+
[#558]: https://github.com/TGMPA/TGM-Plugin-Activation/issues/558
361+
[#557]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/557
362+
[#543]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/543
363+
[#532]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/532
364+
[#528]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/528
365+
[#524]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/524
366+
[#521]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/521
367+
[#516]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/516
368+
[#514]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/514
369+
[#513]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/513
370+
[#512]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/512
371+
[#511]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/511
372+
[#510]: https://github.com/TGMPA/TGM-Plugin-Activation/issues/510
373+
[#509]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/509
374+
[#508]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/508
375+
[#507]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/507
376+
[#505]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/505
377+
[#504]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/504
378+
[#503]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/503
379+
[#500]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/500
380+
[#499]: https://github.com/TGMPA/TGM-Plugin-Activation/issues/499
381+
[#496]: https://github.com/TGMPA/TGM-Plugin-Activation/issues/496
382+
[#495]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/495
383+
[#489]: https://github.com/TGMPA/TGM-Plugin-Activation/issues/489
384+
[#487]: https://github.com/TGMPA/TGM-Plugin-Activation/issues/487
385+
[#478]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/478
386+
[#469]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/469
387+
[#465]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/465
388+
[#460]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/460
389+
[#459]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/459
390+
[#458]: https://github.com/TGMPA/TGM-Plugin-Activation/issues/458
391+
[#450]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/450
392+
[#449]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/449
393+
[#446]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/446
394+
[#442]: https://github.com/TGMPA/TGM-Plugin-Activation/issues/442
395+
[#435]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/435
396+
[#427]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/427
397+
[#426]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/426
398+
[#425]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/425
399+
[#414]: https://github.com/TGMPA/TGM-Plugin-Activation/issues/414
400+
[#403]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/403
289401
[#402]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/402
402+
[#401]: https://github.com/TGMPA/TGM-Plugin-Activation/issues/401
290403
[#399]: https://github.com/TGMPA/TGM-Plugin-Activation/issues/399
291404
[#397]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/397
292405
[#395]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/395
@@ -356,6 +469,7 @@ TGMPA will start providing localized text strings soon. If you already have tran
356469
[#203]: https://github.com/TGMPA/TGM-Plugin-Activation/issues/203
357470
[#197]: https://github.com/TGMPA/TGM-Plugin-Activation/issues/197
358471
[#192]: https://github.com/TGMPA/TGM-Plugin-Activation/issues/192
472+
[#190]: https://github.com/TGMPA/TGM-Plugin-Activation/issues/190
359473
[#188]: https://github.com/TGMPA/TGM-Plugin-Activation/pull/188
360474
[#185]: https://github.com/TGMPA/TGM-Plugin-Activation/issues/185
361475
[#183]: https://github.com/TGMPA/TGM-Plugin-Activation/issues/183

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
**Lead Developers:**
88
[Thomas Griffin](https://github.com/thomasgriffin) ([@jthomasgriffin](https://twitter.com/jthomasgriffin)), [Gary Jones](https://github.com/GaryJones) ([@GaryJ](https://twitter.com/GaryJ)), [Juliette Reinders Folmer](https://github.com/jrfnl) ([@jrf_nl](https://twitter.com/jrf_nl))
9-
**Version:** 2.5.2
10-
**Requires at least:** 3.7.0
11-
**Tested up to:** 4.2.0
9+
**Version:** 2.6.0-RC1
10+
**Requires at least:** 3.7.0
11+
**Tested up to:** 4.5.2
1212

1313
## Description
1414

0 commit comments

Comments
 (0)