PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.1.0
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.1.0
11.1.1 11.1.0 11.0.5 11.0.4 11.0.3 11.0.2 11.0.1 11.0.0 10.11.1 10.11.0 10.10.2 10.10.1 10.10.0 10.9.1 trunk 10.0.0 10.0.1 10.1.0 10.1.1 10.1.2 10.1.3 10.1.4 10.2.0 10.2.1 10.2.2 All 62 releases
← All changes | back/Helpers/EditorHelper.php +5 -2 11.0.0 → 11.1.0 View file →
@@ -161,10 +161,13 @@
161 161 $fileurl = str_replace(DS, '/', ACYM_MEDIA_FOLDER).'templates/css/template_'.$this->mailId.'.css?time='.time();
162 162 $this->editorConfig['custom_css_url'] = $cssurl;
163 163 $this->editorConfig['custom_css_file'] = $fileurl;
164 164 $this->editorConfig['custom_css_path'] = $filepath;
165 - //Can be useful for JCE integration for example.
166 - acym_setVar('acycssfile', $fileurl);
165 +
166 + // Can be useful for JCE integration for example
167 + if (!empty($filepath)) {
168 + acym_setVar('acycssfile', $fileurl);
169 + }
167 170 }
168 171 }
169 172
170 173 // phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped -- Displaying the CMS editor, cannot be escaped. For Joomla editors.