release 2023.06.17

This commit is contained in:
Jean-Christian Denis 2023-06-17 11:19:27 +02:00
parent 380fed1658
commit f04b2b8330
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951
4 changed files with 9 additions and 5 deletions

View file

@ -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

View file

@ -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([

View file

@ -2,10 +2,10 @@
<modules xmlns:da="http://dotaddict.org/da/">
<module id="lastpostsExtend">
<name>Last entries (Extended)</name>
<version>2023.04.22</version>
<version>2023.06.17</version>
<author>Jean-Christian Denis and contributors</author>
<desc>Extended list of entries</desc>
<file>https://github.com/JcDenis/lastpostsExtend/releases/download/v2023.04.22/plugin-lastpostsExtend.zip</file>
<file>https://github.com/JcDenis/lastpostsExtend/releases/download/v2023.06.17/plugin-lastpostsExtend.zip</file>
<da:dcmin>2.26</da:dcmin>
<da:details>http://plugins.dotaddict.org/dc2/details/lastpostsExtend</da:details>
<da:support>https://github.com/JcDenis/lastpostsExtend</da:support>

View file

@ -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 '';