From 209a1f2d2bcd02bcff8f0b04b17ef8671f05c944 Mon Sep 17 00:00:00 2001 From: Herb Miller Date: Fri, 11 Mar 2022 10:11:45 +0000 Subject: [PATCH] oik-blocks v1.4.0 2022/03/11 --- README.md | 20 +++++++++++++++++--- oik-blocks.php | 2 +- package.json | 2 +- readme.txt | 20 +++++++++++++++++--- shortcodes/oik-shortcode.php | 4 ++-- 5 files changed, 38 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index f5dc1c8..88a2bba 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,9 @@ * Donate link: https://www.oik-plugins.com/oik/oik-donate/ * Tags: gutenberg, shortcode, blocks, oik * Requires at least: 5.5.1 -* Tested up to: 5.8.2 +* Tested up to: 5.9.1 * Gutenberg compatible: Yes -* Stable tag: 1.3.0 +* Stable tag: 1.4.0 * License: GPLv3 or later * License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -17,7 +17,7 @@ The blocks in this plugin are a mixture of - prototype blocks to replace oik-shortcodes - and blocks to help document WordPress blocks. -oik-blocks v1.3.0 provides 6 blocks +oik-blocks v1.4.0 provides 6 blocks - Block icon - Block info @@ -74,6 +74,9 @@ Yes, it uses a number of other plugins: 1. to be completed ## Upgrade Notice +# 1.4.0 +Update for improved display of Variations and SVG icons. + # 1.3.0 Update for compatibility with Gutenberg 11.9.0 @@ -150,6 +153,17 @@ No longer displays the Preferred editor meta box Forked from oik-block which will now only implement opinions. ## Changelog +# 1.4.0 +* Changed: Convert blockicons to SVG when possible or enqueue dashicons.css #41 +* Changed: Replace / with - in block title for Login/out block #27 +* Changed: Improve display of variations #27 +* Changed: Update build file: style-index.css #52 +* Changed: Support SVG image files for blockicon, blockinfo and blocklist #52 +* Tested: With WordPress 5.9.1 and WordPress Multi Site +* Tested: With Gutenberg 12.7.1 +* Tested: With PHP 8.0 + + # 1.3.0 * Changed: Rework display of BlockIcon related content for Gutenberg 11.9.0 compatibility #50 * Changed: Improve CSS for BlockIcon related SVGs #51 diff --git a/oik-blocks.php b/oik-blocks.php index 6ddad4f..52446dd 100644 --- a/oik-blocks.php +++ b/oik-blocks.php @@ -5,7 +5,7 @@ * Description: WordPress blocks, aka Gutenberg blocks, for oik shortcodes. * Author: Herb Miller * Author URI: https://oik-plugins.com/author/bobbingwide - * Version: 1.3.0 + * Version: 1.4.0 * License: GPL3+ * License URI: https://www.gnu.org/licenses/gpl-3.0.txt * Text Domain: oik-blocks diff --git a/package.json b/package.json index dd317d5..f542889 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "oik-blocks", - "version": "1.2.0", + "version": "1.4.0", "description": "More blocks and lazy smart shortcodes for the WordPress block editor.", "author": "bobbingwide", "license": "GPL-2.0-or-later", diff --git a/readme.txt b/readme.txt index 2cfc382..3ad83cd 100644 --- a/readme.txt +++ b/readme.txt @@ -3,9 +3,9 @@ Contributors: bobbingwide Donate link: https://www.oik-plugins.com/oik/oik-donate/ Tags: gutenberg, shortcode, blocks, oik Requires at least: 5.5.1 -Tested up to: 5.8.2 +Tested up to: 5.9.1 Gutenberg compatible: Yes -Stable tag: 1.3.0 +Stable tag: 1.4.0 License: GPLv3 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -16,7 +16,7 @@ The blocks in this plugin are a mixture of - prototype blocks to replace oik-shortcodes - and blocks to help document WordPress blocks. -oik-blocks v1.3.0 provides 6 blocks +oik-blocks v1.4.0 provides 6 blocks - Block icon - Block info @@ -73,6 +73,9 @@ Yes, it uses a number of other plugins: 1. to be completed == Upgrade Notice == += 1.4.0 = +Update for improved display of Variations and SVG icons. + = 1.3.0 = Update for compatibility with Gutenberg 11.9.0 @@ -149,6 +152,17 @@ No longer displays the Preferred editor meta box Forked from oik-block which will now only implement opinions. == Changelog == += 1.4.0 = +* Changed: Convert blockicons to SVG when possible or enqueue dashicons.css #41 +* Changed: Replace / with - in block title for Login/out block #27 +* Changed: Improve display of variations #27 +* Changed: Update build file: style-index.css #52 +* Changed: Support SVG image files for blockicon, blockinfo and blocklist #52 +* Tested: With WordPress 5.9.1 and WordPress Multi Site +* Tested: With Gutenberg 12.7.1 +* Tested: With PHP 8.0 + + = 1.3.0 = * Changed: Rework display of BlockIcon related content for Gutenberg 11.9.0 compatibility #50 * Changed: Improve CSS for BlockIcon related SVGs #51 diff --git a/shortcodes/oik-shortcode.php b/shortcodes/oik-shortcode.php index 809af8d..0d94bc9 100644 --- a/shortcodes/oik-shortcode.php +++ b/shortcodes/oik-shortcode.php @@ -7,12 +7,12 @@ * @return generated HTML */ function oik_blocks_shortcode_block( $attributes ) { - bw_trace2(); + //bw_trace2(); $shortcode = bw_array_get( $attributes, "shortcode", null ); $content = bw_array_get( $attributes, "content", null ); unset( $attributes[ 'shortcode' ] ); unset( $attributes[ 'content' ] ); - bw_trace2( $attributes, "atts", false ); + //bw_trace2( $attributes, "atts", false ); //BW_::p( $shortcode ); ///BW_::p( $content );