Skip to content

Commit cf6cd19

Browse files
authored
Merge pull request #145 from magento-commerce/MCLOUD-13753
MCLOUD-13753 : Improve-admin-cache-efficiency
2 parents 4e443c8 + 14a2622 commit cf6cd19

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

patches.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,9 @@
304304
},
305305
"Patch for CVE-2025-47109 - Improve-category-view": {
306306
"2.4.8": "MCLOUD-13752__Patch_for_CVE-2025-47109_Improve_category_view__2.4.8.patch"
307+
},
308+
"Patch for CVE-2025-47110 - Improve-admin-cache-efficiency": {
309+
">=2.4.4 <2.4.4-p14 || >=2.4.5 <2.4.5-p13 || >=2.4.6 <2.4.6-p11 || >=2.4.7 <2.4.7-p6 || 2.4.8": "MCLOUD-13753__Patch_for_CVE-2025-47110_improve-admin-cache-efficiency__2.4.x.patch"
307310
}
308311
},
309312
"magento/module-paypal": {
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
diff --git a/vendor/magento/module-email/Model/Template/Filter.php b/vendor/magento/module-email/Model/Template/Filter.php
2+
index f5b69484285cc..f86deacad3b4e 100644
3+
--- a/vendor/magento/module-email/Model/Template/Filter.php
4+
+++ b/vendor/magento/module-email/Model/Template/Filter.php
5+
@@ -1,7 +1,7 @@
6+
<?php
7+
/**
8+
- * Copyright © Magento, Inc. All rights reserved.
9+
- * See COPYING.txt for license details.
10+
+ * Copyright 2011 Adobe
11+
+ * All Rights Reserved.
12+
*/
13+
declare(strict_types=1);
14+
15+
@@ -432,6 +432,10 @@ public function blockDirective($construction)
16+
$block->setDataUsingMethod($k, $v);
17+
}
18+
19+
+ if (!$block->hasData('cache_key')) {
20+
+ $block->setDataUsingMethod('cache_key', $block->getCacheKey());
21+
+ }
22+
+
23+
if (isset($blockParameters['output'])) {
24+
$method = $blockParameters['output'];
25+
}

0 commit comments

Comments
 (0)