From fa9b89a0543fef453cb01606d68fac8c317e71e4 Mon Sep 17 00:00:00 2001 From: nghiatt Date: Mon, 5 Aug 2024 09:56:42 +0700 Subject: [PATCH 1/3] fix: compa HyvaTheme --- view/frontend/templates/post/list.phtml | 36 ++++++++++++------------- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/view/frontend/templates/post/list.phtml b/view/frontend/templates/post/list.phtml index 90a4a415..b02a6baa 100644 --- a/view/frontend/templates/post/list.phtml +++ b/view/frontend/templates/post/list.phtml @@ -21,14 +21,12 @@ use Mageplaza\Blog\Block\Frontend; use Mageplaza\Blog\Model\Post; -use Magento\Framework\Escaper; /** @var Frontend $block */ -/** @var Escaper $escaper */ ?>
- - +
@@ -43,18 +41,18 @@ use Magento\Framework\Escaper;
getImage()) : ?>
- + <?= $escaper->escapeHtml($post->getName()); ?> + src="escapeUrl($block->resizeImage($post->getImage(), '400x')) ?>" + alt="escapeHtml($post->getName()); ?>"/>
- + From 22872befe151ab80882a860ead2e7b034ab6214a Mon Sep 17 00:00:00 2001 From: nghiatt Date: Mon, 12 Aug 2024 09:22:54 +0700 Subject: [PATCH 2/3] fix: compa HyvaTheme --- view/frontend/templates/post/list.phtml | 26 +++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) mode change 100644 => 100755 view/frontend/templates/post/list.phtml diff --git a/view/frontend/templates/post/list.phtml b/view/frontend/templates/post/list.phtml old mode 100644 new mode 100755 index b02a6baa..d0753f79 --- a/view/frontend/templates/post/list.phtml +++ b/view/frontend/templates/post/list.phtml @@ -21,12 +21,14 @@ use Mageplaza\Blog\Block\Frontend; use Mageplaza\Blog\Model\Post; +use Magento\Framework\Escaper; /** @var Frontend $block */ +/** @var Escaper $escaper */ ?> @@ -41,18 +43,18 @@ use Mageplaza\Blog\Model\Post;
getImage()) : ?>
- + <?= $block->escapeHtml($post->getName()); ?> + src="escapeUrl($block->resizeImage($post->getImage(), '400x')) ?>" + alt="escapeHtml($post->getName()); ?>"/>
From e9abdd7cdf7d02e7745779b3038aef52abc51a17 Mon Sep 17 00:00:00 2001 From: chuccv Date: Wed, 21 Aug 2024 09:28:47 +0700 Subject: [PATCH 3/3] Release v4.2.4 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 7003d21b..81983244 100755 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ "mageplaza/facebook-graph-sdk": "^1.0.1" }, "type": "magento2-module", - "version": "4.2.3", + "version": "4.2.4", "license": "proprietary", "keywords": [ "magento 2",