diff --git a/src/readme.txt b/src/readme.txt index aa5d375a4..0ec08b332 100644 --- a/src/readme.txt +++ b/src/readme.txt @@ -4,7 +4,7 @@ Tags: museums, libraries, archives, GLAM, collections, repository Requires at least: 5.0 Tested up to: 5.6 Requires PHP: 5.6 -Stable tag: 0.18 +Stable tag: 0.18.1 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 3d1d0ef07..33407213c 100644 --- a/src/tainacan.php +++ b/src/tainacan.php @@ -4,13 +4,13 @@ Plugin Name: Tainacan 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 -Version: 0.18 +Version: 0.18.1 Text Domain: tainacan License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-3.0.html */ -const TAINACAN_VERSION = '0.18'; +const TAINACAN_VERSION = '0.18.1'; defined( 'ABSPATH' ) or die( 'No script kiddies please!' ); $TAINACAN_BASE_URL = plugins_url('', __FILE__); diff --git a/src/views/admin/components/lists/items-list.vue b/src/views/admin/components/lists/items-list.vue index bf7a96b04..6e2df0da6 100644 --- a/src/views/admin/components/lists/items-list.vue +++ b/src/views/admin/components/lists/items-list.vue @@ -386,8 +386,7 @@
: diff --git a/src/views/gutenberg-blocks/tainacan-items/carousel-items-list/index.js b/src/views/gutenberg-blocks/tainacan-items/carousel-items-list/index.js index dfebfe71d..29bb82d92 100644 --- a/src/views/gutenberg-blocks/tainacan-items/carousel-items-list/index.js +++ b/src/views/gutenberg-blocks/tainacan-items/carousel-items-list/index.js @@ -210,8 +210,8 @@ registerBlockType('tainacan/carousel-items-list', { target="_blank"> 4 ? (!cropImagesToSquare ? 'tainacan-medium-full' : 'tainacan-medium') : 'large'), item['document_mimetype']) } - srcset={ thumbHelper.getSrcSet(item['thumbnail'], (maxItemsPerScreen > 4 ? (!cropImagesToSquare ? 'tainacan-medium-full' : 'tainacan-medium') : 'large'), item['document_mimetype']) } - alt={ item.thumbnail_alt ? item.thumbnail_alt : (item && item.title ? item.title : $root.__( 'Thumbnail', 'tainacan' )) }/> + srcSet={ thumbHelper.getSrcSet(item['thumbnail'], (maxItemsPerScreen > 4 ? (!cropImagesToSquare ? 'tainacan-medium-full' : 'tainacan-medium') : 'large'), item['document_mimetype']) } + alt={ item.thumbnail_alt ? item.thumbnail_alt : (item && item.title ? item.title : __( 'Thumbnail', 'tainacan' )) }/> { !hideTitle ? { item.title ? item.title : '' } : null } diff --git a/src/views/gutenberg-blocks/tainacan-items/dynamic-items-list/index.js b/src/views/gutenberg-blocks/tainacan-items/dynamic-items-list/index.js index bc3a141cd..3317402d2 100644 --- a/src/views/gutenberg-blocks/tainacan-items/dynamic-items-list/index.js +++ b/src/views/gutenberg-blocks/tainacan-items/dynamic-items-list/index.js @@ -235,7 +235,7 @@ registerBlockType('tainacan/dynamic-items-list', { + alt={ item.thumbnail_alt ? item.thumbnail_alt : (item && item.title ? item.title : __( 'Thumbnail', 'tainacan' )) }/> { item.title ? item.title : '' } diff --git a/src/views/gutenberg-blocks/tainacan-terms/carousel-terms-list/index.js b/src/views/gutenberg-blocks/tainacan-terms/carousel-terms-list/index.js index de0013d7b..f891bb1e7 100644 --- a/src/views/gutenberg-blocks/tainacan-terms/carousel-terms-list/index.js +++ b/src/views/gutenberg-blocks/tainacan-terms/carousel-terms-list/index.js @@ -181,15 +181,15 @@ registerBlockType('tainacan/carousel-terms-list', {