From f04b2b8330d8c2257dbd7da56b7aab9ce238fc58 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 17 Jun 2023 11:19:27 +0200 Subject: [PATCH] release 2023.06.17 --- CHANGELOG.md | 6 +++++- _define.php | 2 +- dcstore.xml | 4 ++-- src/Widgets.php | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f912000..7ab10e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ -2023.04.022 +2023.06.17 +- require dotclear 2.26 +- fix php7.4 compatibility + +2023.04.22 - require dotclear 2.26 - use latest helper namespace - fix nullsafe warnings diff --git a/_define.php b/_define.php index 88f00bf..8935b64 100644 --- a/_define.php +++ b/_define.php @@ -18,7 +18,7 @@ $this->registerModule( 'Last entries (Extended)', 'Extended list of entries', 'Jean-Christian Denis and contributors', - '2023.04.22', + '2023.06.17', [ 'requires' => [['core', '2.26']], 'permissions' => dcCore::app()->auth->makePermissions([ diff --git a/dcstore.xml b/dcstore.xml index 73a8287..6a5f153 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,10 +2,10 @@ Last entries (Extended) - 2023.04.22 + 2023.06.17 Jean-Christian Denis and contributors Extended list of entries - https://github.com/JcDenis/lastpostsExtend/releases/download/v2023.04.22/plugin-lastpostsExtend.zip + https://github.com/JcDenis/lastpostsExtend/releases/download/v2023.06.17/plugin-lastpostsExtend.zip 2.26 http://plugins.dotaddict.org/dc2/details/lastpostsExtend https://github.com/JcDenis/lastpostsExtend diff --git a/src/Widgets.php b/src/Widgets.php index 94348c3..162fcbd 100644 --- a/src/Widgets.php +++ b/src/Widgets.php @@ -394,7 +394,7 @@ class Widgets ); } - private static function entryFirstImage(string $type, int|string $id, string $size = 's'): string + private static function entryFirstImage(string $type, $id, string $size = 's'): string { if (is_null(dcCore::app()->auth) || is_null(dcCore::app()->blog) || !in_array($type, ['post', 'page', 'galitem'])) { return '';