Skip to content

Commit

Permalink
Wysiwyg must be set to "tinymce" mode for assets to load properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Gibbs committed Feb 21, 2013
1 parent 186d133 commit 2558962
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions core/fields/wysiwyg.php
Expand Up @@ -9,10 +9,7 @@ function __construct($parent)
$this->label = __('Wysiwyg Editor', 'cfs');
$this->parent = $parent;

if (version_compare(get_bloginfo('version'), '3.5', '<'))
{
add_filter('wp_default_editor', array($this, 'wp_default_editor'));
}
add_filter('wp_default_editor', array($this, 'wp_default_editor'));
}

function html($field)
Expand Down

0 comments on commit 2558962

Please sign in to comment.