Make WordPress Core


Ignore:
Timestamp:
08/24/2008 02:19:05 PM (18 years ago)
Author:
azaozz
Message:

Remove extra filter, fixes #7585

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/general-template.php

    r8720 r8721  
    956956        $rows = "rows='$rows'"; ?>
    957957        <div id="editor-toolbar">
    958         <?php if ( user_can_richedit() && $media_buttons ) {
     958        <?php if ( user_can_richedit() ) {
    959959                $wp_default_editor = wp_default_editor(); ?>
    960960                <div class="zerosize"><input accesskey="e" type="button" onclick="switchEditors.go('<?php echo $id; ?>')" /></div>
     
    968968                        <a id="edButtonPreview" onclick="switchEditors.go('<?php echo $id; ?>');"><?php _e('Visual'); ?></a>
    969969                <?php }
    970         } else
    971                 add_filter('the_editor_content', 'wp_htmledit_pre');
     970        }
    972971
    973972/*      if ( $media_buttons ) { ?>
Note: See TracChangeset for help on using the changeset viewer.