From b4eac89ee5dcd9ff9bd0b737dbe2a5b2dd4eabb6 Mon Sep 17 00:00:00 2001 From: Ben Keith Date: Wed, 7 Nov 2018 10:57:00 -0500 Subject: [PATCH 1/3] Declare block js dependencies: wp-editor, wp-components --- inc/block.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inc/block.php b/inc/block.php index fa90b2d..02fc3e5 100644 --- a/inc/block.php +++ b/inc/block.php @@ -27,6 +27,8 @@ function pym_block_init() { 'wp-blocks', 'wp-i18n', 'wp-element', + 'wp-editor', + 'wp-components', ), filemtime( "$dir/$block_js" ) ); From e8fbdcbb816fc925b13eabdd5864e83bb966b6f6 Mon Sep 17 00:00:00 2001 From: Ben Keith Date: Wed, 7 Nov 2018 11:07:56 -0500 Subject: [PATCH 2/3] Bump plugin version to 1.3.2.2, tested up to WP 5.0-beta3 --- pym-shortcode.php | 2 +- readme.txt | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/pym-shortcode.php b/pym-shortcode.php index e1939ce..28b6b3e 100644 --- a/pym-shortcode.php +++ b/pym-shortcode.php @@ -3,7 +3,7 @@ Plugin Name: Pym.js Embeds Plugin URI: https://github.com/INN/pym-shortcode Description: A WordPress solution to embed iframes that are responsive horizontally and vertically using the NPR Visuals Team's `Pym.js`. -Version: 1.3.2.1 +Version: 1.3.2.2 Author: INN Labs Author URI: http://labs.inn.org/ License: GPL Version 2 or later diff --git a/readme.txt b/readme.txt index 0ed845c..3ca07f9 100644 --- a/readme.txt +++ b/readme.txt @@ -4,8 +4,8 @@ Donate link: https://inn.org/donate Tags: shortcode, iframe, javascript, embeds, responsive, pym, NPR Requires at least: 3.0.1 Requires PHP: 5.3 -Tested up to: 4.9.8 -Stable tag: 1.3.2.1 +Tested up to: 5.0-beta3 +Stable tag: 1.3.2.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -48,6 +48,12 @@ Mobile view of the WordPress post with the NPR embed using Pym.js Shortcode: == Changelog == += 1.3.2.2 = + +- Plugin is now tested against WordPress 5.0 beta 3. +- Adds support for WordPress 5.0. +- 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). + = 1.3.2.1 = **This is a major update! Please read the release notes.** From 638c46bd056f60966d4c4a112919f3a76c9f049c Mon Sep 17 00:00:00 2001 From: Ben Keith Date: Wed, 7 Nov 2018 11:20:29 -0500 Subject: [PATCH 3/3] add 1.3.2.2 to version history --- docs/maintainer-notes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/maintainer-notes.md b/docs/maintainer-notes.md index acf736f..433204b 100644 --- a/docs/maintainer-notes.md +++ b/docs/maintainer-notes.md @@ -27,3 +27,4 @@ The plugin's [version history](https://github.com/INN/pym-shortcode/releases) lo - 1.3.1 - 1.3.2 - 1.3.2.1: Gutenberg and settings page +- 1.3.2.2: WordPress 5.0 support