From 1e544a65cd9d2a8b57f3487a41bab9edc8c8e40c Mon Sep 17 00:00:00 2001 From: Herb Miller Date: Tue, 22 Nov 2022 14:17:22 +0000 Subject: [PATCH] oik-css v2.1.0 2022/11/22 --- README.md | 19 ++++---- changelog.txt | 9 ++++ libs/class-BW-.php | 59 ++++++++++++++++++----- oik-css.php | 2 +- phpunit.json | 116 ++++++++++++++++++++++----------------------- readme.txt | 18 +++---- 6 files changed, 134 insertions(+), 89 deletions(-) diff --git a/README.md b/README.md index ec4479b..04ea47f 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,9 @@ * Donate link: https://www.oik-plugins.com/oik/oik-donate/ * Tags: CSS, GeSHi, blocks, shortcodes, [bw_css], [bw_geshi], [bw_autop], [bw_background], oik, lazy, smart * Requires at least: 5.0 -* Tested up to: 6.0.1 +* Tested up to: 6.1.1 * Gutenberg compatible: Yes -* Stable tag: 2.0.1 +* Stable tag: 2.1.0 * License: GPLv2 or later * License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -108,18 +108,17 @@ This new plugin depends on Gutenberg, the oik base plugin and oik-css. ## Upgrade Notice -# 2.0.1 -Updated shared libraries and wp-scripts. Tested with WordPress 6.0.1 +# 2.1.0 +Update for ability to style CSS and GeSHi output in documentation ## Changelog -# 2.0.1 -* Deleted: Remove redundant logic and files for oik_css_activation() #18 +# 2.1.0 +* Changed: Implement get_block_wrapper_attributes #16 +* Changed: Adding styling of text,background and font size #16 * Changed: Updated wp-scripts -* Changed: Updated shared libraries -* Tested: With WordPress 6.0.1 and WordPress Multi Site +* Tested: With WordPress 6.1.1 and WordPress Multi Site * Tested: With PHP 8.0 -* Tested: With Gutenberg 13.8.2 - +* Tested: With Gutenberg 14.5.4 ## Further reading If you want to read more about the oik plugins then please visit the diff --git a/changelog.txt b/changelog.txt index 878427b..5767958 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,6 @@ == Upgrade Notice == += 2.0.1 = +Updated shared libraries and wp-scripts. Tested with WordPress 6.0.1 = 2.0.0 = Upgrade to use the CSS and GeSHi blocks in the block widget editor. @@ -70,6 +72,13 @@ Dependent upon the oik base plugin v2.0 (or higher) Dependent upon the oik base plugin == Changelog == += 2.0.1 = +* Deleted: Remove redundant logic and files for oik_css_activation() #18 +* Changed: Updated wp-scripts +* Changed: Updated shared libraries +* Tested: With WordPress 6.0.1 and WordPress Multi Site +* Tested: With PHP 8.0 +* Tested: With Gutenberg 13.8.2 = 2.0.0 = * Changed: Refactor to use wp-scripts,[github bobbingwide oik-css issues 16] diff --git a/libs/class-BW-.php b/libs/class-BW-.php index 73322b6..35c6d5b 100644 --- a/libs/class-BW-.php +++ b/libs/class-BW-.php @@ -1,6 +1,6 @@ - - - - - - - + + + + + + + - - - + + + - - - - - - - + + + + + + + - - - - - - - - + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + diff --git a/readme.txt b/readme.txt index ee8cbcb..8007ba9 100644 --- a/readme.txt +++ b/readme.txt @@ -3,9 +3,9 @@ Contributors: bobbingwide, vsgloik Donate link: https://www.oik-plugins.com/oik/oik-donate/ Tags: CSS, GeSHi, blocks, shortcodes, [bw_css], [bw_geshi], [bw_autop], [bw_background], oik, lazy, smart Requires at least: 5.0 -Tested up to: 6.0.1 +Tested up to: 6.1.1 Gutenberg compatible: Yes -Stable tag: 2.0.1 +Stable tag: 2.1.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -107,17 +107,17 @@ This new plugin depends on Gutenberg, the oik base plugin and oik-css. == Upgrade Notice == -= 2.0.1 = -Updated shared libraries and wp-scripts. Tested with WordPress 6.0.1 += 2.1.0 = +Update for ability to style CSS and GeSHi output in documentation == Changelog == -= 2.0.1 = -* Deleted: Remove redundant logic and files for oik_css_activation() #18 += 2.1.0 = +* Changed: Implement get_block_wrapper_attributes #16 +* Changed: Adding styling of text,background and font size #16 * Changed: Updated wp-scripts -* Changed: Updated shared libraries -* Tested: With WordPress 6.0.1 and WordPress Multi Site +* Tested: With WordPress 6.1.1 and WordPress Multi Site * Tested: With PHP 8.0 -* Tested: With Gutenberg 13.8.2 +* Tested: With Gutenberg 14.5.4 == Further reading == If you want to read more about the oik plugins then please visit the