Skip to content

Commit

Permalink
Fix placeholder image in WYSIWYG editor when using a different admin …
Browse files Browse the repository at this point in the history
…theme (#4240)
  • Loading branch information
Caprico85 authored Oct 20, 2024
1 parent fa6e859 commit e95ba6c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/code/core/Mage/Cms/Model/Wysiwyg/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
}

/**
Expand Down

0 comments on commit e95ba6c

Please sign in to comment.