From afaf1f1d782f7561be787e5b0218c21a2b1fb903 Mon Sep 17 00:00:00 2001
From: vnmedeiros
Date: Wed, 9 Oct 2024 11:33:44 -0300
Subject: [PATCH 1/2] release: update version
---
src/readme.txt | 2 +-
src/tainacan.php | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/readme.txt b/src/readme.txt
index 9475e44ad..a472a438e 100644
--- a/src/readme.txt
+++ b/src/readme.txt
@@ -4,7 +4,7 @@ Tags: museums, archives, GLAM, collections, repository
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.0
-Stable tag: 0.21.10
+Stable tag: 0.21.11
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
diff --git a/src/tainacan.php b/src/tainacan.php
index 4c5a0d959..f68367b08 100644
--- a/src/tainacan.php
+++ b/src/tainacan.php
@@ -5,17 +5,17 @@ Plugin URI: https://tainacan.org/
Description: Open source, powerful and flexible repository platform for WordPress. Manage and publish you digital collections as easily as publishing a post to your blog, while having all the tools of a professional repository platform.
Author: Tainacan.org
Author URI: https://tainacan.org/
-Version: 0.21.10
+Version: 0.21.11
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.0
-Stable tag: 0.21.10
+Stable tag: 0.21.11
Text Domain: tainacan
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
-const TAINACAN_VERSION = '0.21.10';
+const TAINACAN_VERSION = '0.21.11';
defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
$TAINACAN_BASE_URL = plugins_url('', __FILE__);
From 6587ce06704fdca0dfeeed2649d90ce90749242f Mon Sep 17 00:00:00 2001
From: mateuswetah
Date: Wed, 9 Oct 2024 11:37:55 -0300
Subject: [PATCH 2/2] Escapes several URLs passed via add_query_args to
taxonomy term single template.
---
src/classes/theme-helper/template-tags.php | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/classes/theme-helper/template-tags.php b/src/classes/theme-helper/template-tags.php
index 9ef65bb8c..9fb653964 100644
--- a/src/classes/theme-helper/template-tags.php
+++ b/src/classes/theme-helper/template-tags.php
@@ -1385,9 +1385,9 @@ function tainacan_get_single_taxonomy_content($post, $args = []) {
$grandparent = get_term($tainacan_parent_term->get_parent());
$tainacan_grandparent_term = new Entities\Term( $grandparent );
- $content .= '' . __('Return to the list of terms children of ', 'tainacan') . '' . $tainacan_grandparent_term->get_name() . '.';
+ $content .= '' . __('Return to the list of terms children of ', 'tainacan') . '' . $tainacan_grandparent_term->get_name() . '.';
} else
- $content .= '' . __('Return to the terms list.', 'tainacan') . '';
+ $content .= '' . __('Return to the terms list.', 'tainacan') . '';
$content .= '
';
}
@@ -1458,7 +1458,7 @@ function tainacan_get_single_taxonomy_content($post, $args = []) {
$total_children = is_array($total_children) && count($total_children) ? count($total_children) : 0;
if ( $total_children ) {
- echo $args['before_term_children_link'] . '';
+ echo $args['before_term_children_link'] . '';
if ( !$args['hide_term_children_count'] && $args['term_children_count_position'] === 'before' )
echo '' . $total_children . ' ';
@@ -1548,10 +1548,10 @@ function tainacan_get_taxonomies_orderby($args = []) {
id="tainacan-taxonomy-order-select"
name="order"
onchange="location = this.value;">
-
-
@@ -1567,10 +1567,10 @@ function tainacan_get_taxonomies_orderby($args = []) {
id="tainacan-taxonomy-orderby-select"
name="orderby"
onchange="location = this.value;">
-
-