1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

Fixes #4382 - Init theme shortcodes later.

This commit is contained in:
Cameron
2021-02-14 08:14:57 -08:00
parent aee77a102f
commit a448c00a1d
2 changed files with 6 additions and 1 deletions

View File

@@ -292,7 +292,7 @@ class e_parse_shortcode
{
$this->scClasses[$class] = new $class();
if(method_exists($this->scClasses[$class], 'init'))
if($class !== 'theme_shortcodes' && method_exists($this->scClasses[$class], 'init'))
{
$this->scClasses[$class]->init();
}