Skip to content

Commit 47b51db

Browse files
authored
Merge pull request #58 from INN/57-requires-for-5.0
WordPress 5.0 support, tag version 1.3.2.2
2 parents a06f10b + 638c46b commit 47b51db

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

docs/maintainer-notes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ The plugin's [version history](https://github.com/INN/pym-shortcode/releases) lo
2727
- 1.3.1
2828
- 1.3.2
2929
- 1.3.2.1: Gutenberg and settings page
30+
- 1.3.2.2: WordPress 5.0 support

inc/block.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ function pym_block_init() {
2727
'wp-blocks',
2828
'wp-i18n',
2929
'wp-element',
30+
'wp-editor',
31+
'wp-components',
3032
),
3133
filemtime( "$dir/$block_js" )
3234
);

pym-shortcode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Plugin Name: Pym.js Embeds
44
Plugin URI: https://github.com/INN/pym-shortcode
55
Description: A WordPress solution to embed iframes that are responsive horizontally and vertically using the NPR Visuals Team's `Pym.js`.
6-
Version: 1.3.2.1
6+
Version: 1.3.2.2
77
Author: INN Labs
88
Author URI: http://labs.inn.org/
99
License: GPL Version 2 or later

readme.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Donate link: https://inn.org/donate
44
Tags: shortcode, iframe, javascript, embeds, responsive, pym, NPR
55
Requires at least: 3.0.1
66
Requires PHP: 5.3
7-
Tested up to: 4.9.8
8-
Stable tag: 1.3.2.1
7+
Tested up to: 5.0-beta3
8+
Stable tag: 1.3.2.2
99
License: GPLv2 or later
1010
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1111

@@ -48,6 +48,12 @@ Mobile view of the WordPress post with the NPR embed using Pym.js Shortcode:
4848

4949
== Changelog ==
5050

51+
= 1.3.2.2 =
52+
53+
- Plugin is now tested against WordPress 5.0 beta 3.
54+
- Adds support for WordPress 5.0.
55+
- Fixes bug where the Pym.js Embeds block did not work in WordPress 5.0. [PR #58](https://github.com/INN/pym-shortcode/pulls/58) for [issue #57](https://github.com/INN/pym-shortcode/issues/57).
56+
5157
= 1.3.2.1 =
5258

5359
**This is a major update! Please read the release notes.**

0 commit comments

Comments
 (0)