Version 2.7.4.

This commit is contained in:
mateuswetah 2024-05-29 14:57:06 -03:00
parent 780395e38a
commit a1f39eac0f
4 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
Contributors: andrebenedito, daltonmartins, fabianobn, jacsonp, leogermani, weryques, wetah, eduardohumberto, ravipassos, jessicafpx, marinagiolo, omarceloavila, r-guimaraes Contributors: andrebenedito, daltonmartins, fabianobn, jacsonp, leogermani, weryques, wetah, eduardohumberto, ravipassos, jessicafpx, marinagiolo, omarceloavila, r-guimaraes
Requires at least: WordPress 5.9 Requires at least: WordPress 5.9
Tested up to: 6.5.2 Tested up to: 6.5.2
Version: 2.7.3 Version: 2.7.4
Requires PHP: 7.0 Requires PHP: 7.0
Stable tag: trunk Stable tag: trunk
License: GNU General Public License v3 License: GNU General Public License v3

View File

@ -4,7 +4,7 @@ Author: Tainacan
Author URI: https://tainacan.org Author URI: https://tainacan.org
Theme URI: https://tainacan.org/blog/category/tema/ Theme URI: https://tainacan.org/blog/category/tema/
Description: This is the default theme for the Tainacan project. Use this in conjunction with Tainacan plugin to easily manage and publish you digital collections with a beautiful faceted search interface. Ideal for museums, galleries, libraries and anyone who have a digital repository. Description: This is the default theme for the Tainacan project. Use this in conjunction with Tainacan plugin to easily manage and publish you digital collections with a beautiful faceted search interface. Ideal for museums, galleries, libraries and anyone who have a digital repository.
Version: 2.7.3 Version: 2.7.4
Tested up to: 6.5.2 Tested up to: 6.5.2
Requires PHP: 7.0 Requires PHP: 7.0
License: GNU General Public License v3 License: GNU General Public License v3

View File

@ -1,7 +1,7 @@
<?php <?php
/** Theme version */ /** Theme version */
const TAINACAN_INTERFACE_VERSION = '2.7.3'; const TAINACAN_INTERFACE_VERSION = '2.7.4';
/* Disables Tainacan Theme Helper the_content filter, which is used to build a custom item and taxonomy (terms list) template. */ /* Disables Tainacan Theme Helper the_content filter, which is used to build a custom item and taxonomy (terms list) template. */
if ( !defined('TAINACAN_DISABLE_ITEM_THE_CONTENT_FILTER') ) if ( !defined('TAINACAN_DISABLE_ITEM_THE_CONTENT_FILTER') )

View File

@ -173,7 +173,7 @@ if ( ! function_exists( 'tainacan_get_single_item_related_items_layout_options'
'grid' => __('Grid of items, with large thumbnails', 'tainacan-interface'), 'grid' => __('Grid of items, with large thumbnails', 'tainacan-interface'),
'list' => __('List of items, with smaller thumbnails', 'tainacan-interface') 'list' => __('List of items, with smaller thumbnails', 'tainacan-interface')
); );
if ( version_compare(TAINACAN_VERSION, '0.20.3') >= 0 ) { if ( version_compare(TAINACAN_VERSION, '0.21.5') >= 0 ) {
$tainacan_view_modes = tainacan_get_default_view_mode_choices(); $tainacan_view_modes = tainacan_get_default_view_mode_choices();
$tainacan_view_modes_options = array(); $tainacan_view_modes_options = array();
foreach ($tainacan_view_modes['enabled_view_modes'] as $key => $value) { foreach ($tainacan_view_modes['enabled_view_modes'] as $key => $value) {