Skip to content

Commit d7ae673

Browse files
committed
Release 3.0.2.
1 parent 28d683b commit d7ae673

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

CHANGELOG.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,23 @@
22

33
## [Unreleased]
44

5-
* Removed `DOCTYPE`, `html` and `body` elements added with DOMDocument.
5+
## [v3.0.2] - 2020-01-16
6+
7+
* Sanitized the `id` attribute passed to the `[gist]` shortcode. This fixes an XSS vulnerability that could be exploited by untrusted contributors on multi-author sites. Thanks to [@cornerpirate](https://github.com/cornerpirate) for disclosing responsibly.
8+
* Added an XML encoding declaration to load Gist content as UTF-8 ([#76](https://github.com/bradyvercher/gistpress/issues/76)).
9+
* Removed `DOCTYPE`, `html` and `body` elements added by DOMDocument.
10+
* Ensured the $gistpress global exists and is an instance of `GistPress` before running ([#72](https://github.com/bradyvercher/gistpress/issues/72)). Props [@robneu](https://github.com/robneu)
611
* Added `.editorconfig` file.
712
* Fixed some code standards.
813
* Updated change log.
914
* Added Issue and Pull Request templates.
1015
* Move screenshot into `assets-repo`.
1116
* Removed / updated author details.
12-
* Updated "Tested up to" to 4.4.2.
17+
* Updated "Tested up to" to 5.3.
1318

1419
## [v3.0.1] - 2016-02-16
1520

16-
* Explicitly declared main instance variables as global to prevent fatal errors when using WP-CLI. [See #61](https://github.com/bradyvercher/gistpress/issues/61).
21+
* Explicitly declared main instance variables as global to prevent fatal errors when using WP-CLI ([#61](https://github.com/bradyvercher/gistpress/issues/61)).
1722

1823
## [v3.0.0] - 2015-08-11
1924

@@ -106,7 +111,8 @@
106111

107112
* Initial release.
108113

109-
[Unreleased]: https://github.com/bradyvercher/gistpress/compare/v3.0.1...HEAD
114+
[Unreleased]: https://github.com/bradyvercher/gistpress/compare/v3.0.2...HEAD
115+
[v3.0.2]: https://github.com/bradyvercher/gistpress/compare/v3.0.1...v3.0.2
110116
[v3.0.1]: https://github.com/bradyvercher/gistpress/compare/v3.0.0...v3.0.1
111117
[v3.0.0]: https://github.com/bradyvercher/gistpress/compare/v2.0.3...v3.0.0
112118
[v2.0.3]: https://github.com/bradyvercher/gistpress/compare/v2.0.2...v2.0.3

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ A WordPress plugin to easily embed Gists via oEmbed or shortcode.
44

55
__Contributors:__ [Brady Vercher](https://github.com/bradyvercher), [Gary Jones](https://github.com/GaryJones)
66
__Requires:__ 4.0
7-
__Tested up to:__ 4.4.2
7+
__Tested up to:__ 5.3
88
__License:__ [GPL-2.0+](http://www.gnu.org/licenses/gpl-2.0.html)
99

1010
GitHub provides a method for embedding Gists on websites, but it requires inserting a `<script>` tag, which can become mangled or stripped from the TinyMCE editor used in WordPress. Instead, this plugin allows you to embed a Gist by simply inserting its URL into the editor for oEmbed-like support, or via a shortcode for more refined control.

gistpress.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Plugin Name: GistPress
1313
* Plugin URI: https://github.com/bradyvercher/gistpress
1414
* Description: Gist oEmbed and shortcode support with caching.
15-
* Version: 3.0.1
15+
* Version: 3.0.2
1616
* Author: Blazer Six
1717
* Author URI: http://www.blazersix.com/
1818
* License: GPL-2.0+

0 commit comments

Comments
 (0)