release 2023.06.17
This commit is contained in:
parent
380fed1658
commit
f04b2b8330
4 changed files with 9 additions and 5 deletions
|
@ -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
|
- require dotclear 2.26
|
||||||
- use latest helper namespace
|
- use latest helper namespace
|
||||||
- fix nullsafe warnings
|
- fix nullsafe warnings
|
||||||
|
|
|
@ -18,7 +18,7 @@ $this->registerModule(
|
||||||
'Last entries (Extended)',
|
'Last entries (Extended)',
|
||||||
'Extended list of entries',
|
'Extended list of entries',
|
||||||
'Jean-Christian Denis and contributors',
|
'Jean-Christian Denis and contributors',
|
||||||
'2023.04.22',
|
'2023.06.17',
|
||||||
[
|
[
|
||||||
'requires' => [['core', '2.26']],
|
'requires' => [['core', '2.26']],
|
||||||
'permissions' => dcCore::app()->auth->makePermissions([
|
'permissions' => dcCore::app()->auth->makePermissions([
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
<modules xmlns:da="http://dotaddict.org/da/">
|
<modules xmlns:da="http://dotaddict.org/da/">
|
||||||
<module id="lastpostsExtend">
|
<module id="lastpostsExtend">
|
||||||
<name>Last entries (Extended)</name>
|
<name>Last entries (Extended)</name>
|
||||||
<version>2023.04.22</version>
|
<version>2023.06.17</version>
|
||||||
<author>Jean-Christian Denis and contributors</author>
|
<author>Jean-Christian Denis and contributors</author>
|
||||||
<desc>Extended list of entries</desc>
|
<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:dcmin>2.26</da:dcmin>
|
||||||
<da:details>http://plugins.dotaddict.org/dc2/details/lastpostsExtend</da:details>
|
<da:details>http://plugins.dotaddict.org/dc2/details/lastpostsExtend</da:details>
|
||||||
<da:support>https://github.com/JcDenis/lastpostsExtend</da:support>
|
<da:support>https://github.com/JcDenis/lastpostsExtend</da:support>
|
||||||
|
|
|
@ -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'])) {
|
if (is_null(dcCore::app()->auth) || is_null(dcCore::app()->blog) || !in_array($type, ['post', 'page', 'galitem'])) {
|
||||||
return '';
|
return '';
|
||||||
|
|
Loading…
Reference in a new issue