Remove extra filter, fixes #7585
git-svn-id: https://develop.svn.wordpress.org/trunk@8721 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3e9d31fc8f
commit
539565c49a
@ -955,7 +955,7 @@ function the_editor($content, $id = 'content', $prev_id = 'title', $media_button
|
|||||||
|
|
||||||
$rows = "rows='$rows'"; ?>
|
$rows = "rows='$rows'"; ?>
|
||||||
<div id="editor-toolbar">
|
<div id="editor-toolbar">
|
||||||
<?php if ( user_can_richedit() && $media_buttons ) {
|
<?php if ( user_can_richedit() ) {
|
||||||
$wp_default_editor = wp_default_editor(); ?>
|
$wp_default_editor = wp_default_editor(); ?>
|
||||||
<div class="zerosize"><input accesskey="e" type="button" onclick="switchEditors.go('<?php echo $id; ?>')" /></div>
|
<div class="zerosize"><input accesskey="e" type="button" onclick="switchEditors.go('<?php echo $id; ?>')" /></div>
|
||||||
<?php if ( 'tinymce' == $wp_default_editor ) {
|
<?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="edButtonHTML" class="active"><?php _e('HTML'); ?></a>
|
||||||
<a id="edButtonPreview" onclick="switchEditors.go('<?php echo $id; ?>');"><?php _e('Visual'); ?></a>
|
<a id="edButtonPreview" onclick="switchEditors.go('<?php echo $id; ?>');"><?php _e('Visual'); ?></a>
|
||||||
<?php }
|
<?php }
|
||||||
} else
|
}
|
||||||
add_filter('the_editor_content', 'wp_htmledit_pre');
|
|
||||||
|
|
||||||
/* if ( $media_buttons ) { ?>
|
/* if ( $media_buttons ) { ?>
|
||||||
<div id="media-buttons" class="hide-if-no-js">
|
<div id="media-buttons" class="hide-if-no-js">
|
||||||
|
Loading…
Reference in New Issue
Block a user