Skip to content

Commit

Permalink
oik-blocks v1.4.0 2022/03/11
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbingwide committed Mar 11, 2022
1 parent d9fc6ad commit 209a1f2
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 10 deletions.
20 changes: 17 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion oik-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
20 changes: 17 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions shortcodes/oik-shortcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 209a1f2

Please sign in to comment.