Remove extra filter, fixes #7585
git-svn-id: http://svn.automattic.com/wordpress/trunk@8721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
95fa29a208
commit
67ef4e1abc
|
@ -955,7 +955,7 @@ function the_editor($content, $id = 'content', $prev_id = 'title', $media_button
|
|||
|
||||
$rows = "rows='$rows'"; ?>
|
||||
<div id="editor-toolbar">
|
||||
<?php if ( user_can_richedit() && $media_buttons ) {
|
||||
<?php if ( user_can_richedit() ) {
|
||||
$wp_default_editor = wp_default_editor(); ?>
|
||||
<div class="zerosize"><input accesskey="e" type="button" onclick="switchEditors.go('<?php echo $id; ?>')" /></div>
|
||||
<?php if ( 'tinymce' == $wp_default_editor ) {
|
||||
|
@ -967,8 +967,7 @@ function the_editor($content, $id = 'content', $prev_id = 'title', $media_button
|
|||
<a id="edButtonHTML" class="active"><?php _e('HTML'); ?></a>
|
||||
<a id="edButtonPreview" onclick="switchEditors.go('<?php echo $id; ?>');"><?php _e('Visual'); ?></a>
|
||||
<?php }
|
||||
} else
|
||||
add_filter('the_editor_content', 'wp_htmledit_pre');
|
||||
}
|
||||
|
||||
/* if ( $media_buttons ) { ?>
|
||||
<div id="media-buttons" class="hide-if-no-js">
|
||||
|
|
Loading…
Reference in New Issue