Skip to content

Instantly share code, notes, and snippets.

@jayelkaake
jayelkaake / Block.php
Last active April 19, 2018 22:27
Temporary 'fix' for static block caching issue in Magento 1.9.2 (app/code/local/Mage/Cms/Block/Block.php)
<?php
/**
* ************************************************************************************
* ***************ATTENTION*************************************************
* This is the temporary fix for the Magento 1.9.2 bug
* See http://magento.stackexchange.com/q/73685/3112?stw=2
* The only change from app/code/core/Mage/Cms/Block/Block.php
* is that the getCacheKeyInfo() function below is added.
* Thanks to andrewkett for the solution!
* ****************************************************************