From fdf32f8398c2fb11404c9c4aaeb78d037eade6b4 Mon Sep 17 00:00:00 2001 From: Barbara Bothe Date: Mon, 16 Dec 2024 11:49:57 +0100 Subject: [PATCH] Bugfix hide_category in fau_display_news_teaser --- includes/News/News.php | 1 + languages/rrze-elements-de_DE.po | 2 +- languages/rrze-elements-de_DE_formal.po | 2 +- languages/rrze-elements.pot | 2 +- package.json | 2 +- rrze-elements.php | 4 ++-- 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/includes/News/News.php b/includes/News/News.php index 7c78017..86a0778 100644 --- a/includes/News/News.php +++ b/includes/News/News.php @@ -344,6 +344,7 @@ function ($post_ID) { switch (getThemeGroup(get_stylesheet())) { case 'fau': if (function_exists('fau_display_news_teaser')) { + $hideMeta = in_array('category', $hide); $output .= do_shortcode(fau_display_news_teaser($id, !$hide_date, $hstart, $hideMeta, true)); } else { $args = [ diff --git a/languages/rrze-elements-de_DE.po b/languages/rrze-elements-de_DE.po index 5790a28..1a6a128 100644 --- a/languages/rrze-elements-de_DE.po +++ b/languages/rrze-elements-de_DE.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"Project-Id-Version: RRZE Elements 1.31.1\n" +"Project-Id-Version: RRZE Elements 1.31.2\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-05-17 15:15+0000\n" "PO-Revision-Date: 2024-10-24 10:12+0000\n" diff --git a/languages/rrze-elements-de_DE_formal.po b/languages/rrze-elements-de_DE_formal.po index fde3bb5..0903ed2 100644 --- a/languages/rrze-elements-de_DE_formal.po +++ b/languages/rrze-elements-de_DE_formal.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"Project-Id-Version: RRZE Elements 1.31.1\n" +"Project-Id-Version: RRZE Elements 1.31.2\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-05-17 15:15+0000\n" "PO-Revision-Date: 2024-10-24 10:12+0000\n" diff --git a/languages/rrze-elements.pot b/languages/rrze-elements.pot index 7702e58..6d3df65 100644 --- a/languages/rrze-elements.pot +++ b/languages/rrze-elements.pot @@ -3,7 +3,7 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: RRZE Elements 1.31.1\n" +"Project-Id-Version: RRZE Elements 1.31.2\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/rrze-elements\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/package.json b/package.json index 1b2741a..db9604b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rrze-elements", - "version": "1.31.1", + "version": "1.31.2", "description": "RRZE Elements: Gestalterische Erweiterungen für Webauftritte.", "main": "rrze-elements.php", "textdomain": "rrze-elements", diff --git a/rrze-elements.php b/rrze-elements.php index 1716774..e8a8f2d 100644 --- a/rrze-elements.php +++ b/rrze-elements.php @@ -4,7 +4,7 @@ Plugin Name: RRZE Elements Plugin URI: https://github.com/RRZE-Webteam/rrze-elements Description: Advanced design elements for WordPress websites. -Version: 1.31.1 +Version: 1.31.2 Author: RRZE Webteam Author URI: https://blogs.fau.de/webworking/ License: GNU General Public License v2 @@ -23,7 +23,7 @@ const RRZE_PHP_VERSION = '8.1'; const RRZE_WP_VERSION = '5.9'; -const RRZE_ELEMENTS_VERSION = '1.31.1'; +const RRZE_ELEMENTS_VERSION = '1.31.2'; spl_autoload_register(function ($class) { $prefix = __NAMESPACE__;