From bb475fd3e57178667bd05b619ca865b53d09783c Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Mon, 4 Mar 2024 10:54:13 -0300 Subject: [PATCH] Preparing for version 0.3.1. --- .gitignore | 1 + tainacan-blocksy/.gitignore | 1 - tainacan-blocksy/README.txt | 8 ++++++-- tainacan-blocksy/functions.php | 4 ++-- tainacan-blocksy/inc/enqueues.php | 1 + tainacan-blocksy/inc/integration.php | 2 +- tainacan-blocksy/inc/navigation.php | 4 ++-- tainacan-blocksy/package-lock.json | 4 ++-- tainacan-blocksy/package.json | 2 +- .../tainacan-item-single-attachments_new.php | 2 +- .../template-parts/tainacan-item-single-document_new.php | 2 +- .../template-parts/tainacan-item-single-metadata_new.php | 2 +- 12 files changed, 19 insertions(+), 14 deletions(-) delete mode 100644 tainacan-blocksy/.gitignore diff --git a/.gitignore b/.gitignore index 2ab9e5e..0828c28 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ +tainacan-blocksy/node_modules tainacan-blocksy/*/node_modules .vscode \ No newline at end of file diff --git a/tainacan-blocksy/.gitignore b/tainacan-blocksy/.gitignore deleted file mode 100644 index 40b878d..0000000 --- a/tainacan-blocksy/.gitignore +++ /dev/null @@ -1 +0,0 @@ -node_modules/ \ No newline at end of file diff --git a/tainacan-blocksy/README.txt b/tainacan-blocksy/README.txt index c0267b1..617fec4 100644 --- a/tainacan-blocksy/README.txt +++ b/tainacan-blocksy/README.txt @@ -1,11 +1,12 @@ === Tainacan Support for Blocksy === Author: tainacan Contributors: wetah, vnmedeiros, leogermani, tainacan -Tags: museums, libraries, archives, GLAM, collections, repository, tainacan, blocksy +Tags: museums, archives, collections, tainacan, blocksy Requires at least: 5.9 Tested up to: 6.4.1 Requires PHP: 7.0 -Stable tag: 0.3.0 +Stable tag: 0.3.1 +Requires Plugins: tainacan License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -58,6 +59,9 @@ License details: https://github.com/tainacan/blocksy-tainacan/blob/master/LICENS == Changelog == += 0.3.1 = +* Fixes customizer errors due to Blocksy changes in version 2.0.27 + = 0.3.0 = * Adds page title default Blocksy banner options for Collection Items templates * Adds page title section options to Repository and Taxonomy Term Items level templates diff --git a/tainacan-blocksy/functions.php b/tainacan-blocksy/functions.php index f65b1da..e806786 100644 --- a/tainacan-blocksy/functions.php +++ b/tainacan-blocksy/functions.php @@ -4,7 +4,7 @@ Plugin Name: Tainacan Support for Blocksy Plugin URI: https://tainacan.org/ Description: Tainacan plugin support for Blocksy theme Author: tainacan -Version: 0.3.0 +Version: 0.3.1 Text Domain: tainacan-blocksy License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -15,7 +15,7 @@ if (! defined('WP_DEBUG') ) { } /** Theme/plugin version */ -const TAINACAN_BLOCKSY_VERSION = '0.3.0'; +const TAINACAN_BLOCKSY_VERSION = '0.3.1'; const TAINACAN_BLOCKSY_IS_CHILD_THEME = false; /* Tools to define our next constants */ diff --git a/tainacan-blocksy/inc/enqueues.php b/tainacan-blocksy/inc/enqueues.php index b842f01..7d55b4d 100644 --- a/tainacan-blocksy/inc/enqueues.php +++ b/tainacan-blocksy/inc/enqueues.php @@ -22,6 +22,7 @@ function tainacan_blocksy_enqueue_scripts() { if ( $blocksy_theme_version > '1.9' ) { wp_enqueue_style( 'tainacan-blocksy-compatibility-style', TAINACAN_BLOCKSY_PLUGIN_URL_PATH . '/compat.min.css', + array(), TAINACAN_BLOCKSY_VERSION ); } diff --git a/tainacan-blocksy/inc/integration.php b/tainacan-blocksy/inc/integration.php index 09edeaa..9ba21bd 100644 --- a/tainacan-blocksy/inc/integration.php +++ b/tainacan-blocksy/inc/integration.php @@ -133,7 +133,7 @@ function tainacan_blocksy_render_media_gallery_above_title() { $media_component_style .= '--tainacan-media-color:' . $media_component_color_palette['color2']['color'] . ';'; $media_component_style .= '--tainacan-media-accent-color:' . $media_component_color_palette['color3']['color'] . ';'; - echo '