From e95ba6ca118b42eb5a2ac603b90d378c3d4dc785 Mon Sep 17 00:00:00 2001 From: Caprico <2081806+Caprico85@users.noreply.github.com> Date: Sun, 20 Oct 2024 17:31:38 +0200 Subject: [PATCH] Fix placeholder image in WYSIWYG editor when using a different admin theme (#4240) --- app/code/core/Mage/Cms/Model/Wysiwyg/Config.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/code/core/Mage/Cms/Model/Wysiwyg/Config.php b/app/code/core/Mage/Cms/Model/Wysiwyg/Config.php index ff74b22c30d..74edbb522f3 100644 --- a/app/code/core/Mage/Cms/Model/Wysiwyg/Config.php +++ b/app/code/core/Mage/Cms/Model/Wysiwyg/Config.php @@ -127,8 +127,7 @@ public function getSkinImagePlaceholderUrl() */ public function getSkinImagePlaceholderPath() { - return Mage::getModel('core/design_package')->getSkinBaseDir(['_area' => 'adminhtml']) . DS . - self::WYSIWYG_SKIN_IMAGE_PLACEHOLDER_FILE; + return Mage::getDesign()->getFilename(self::WYSIWYG_SKIN_IMAGE_PLACEHOLDER_FILE, ['_type' => 'skin']); } /**