diff --git a/GSCkePatch.php b/GSCkePatch.php index 116e95d..7751df9 100644 --- a/GSCkePatch.php +++ b/GSCkePatch.php @@ -26,7 +26,7 @@ function init_GSCkePatch($pluginid){ init_GSCkePatch($pluginid); -if(get_filename_id() == 'edit' && $HTMLEDITOR){ +if(in_array(get_filename_id(),array('edit','load')) && $HTMLEDITOR){ add_action("header",$pluginid.'_header',$pluginid); add_action("edit-content",$pluginid.'_edit_content'); } @@ -44,4 +44,4 @@ function GSCkePatch_header($pluginid){ echo ''; } -?> \ No newline at end of file +?>