Make WordPress Core


Ignore:
Timestamp:
07/05/2012 03:28:13 PM (14 years ago)
Author:
markjaquith
Message:

Switch "HTML" tab to "Text" in DFW mode. Update documentation and inline comments to refer to the "Text" tab or mode instead of "HTML". see #20993

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-editor.php

    r21211 r21212  
    3535            'textarea_rows' => get_option('default_post_edit_rows', 10), // rows="..."
    3636            'tabindex' => '',
    37             'editor_css' => '', // intended for extra styles for both visual and HTML editors buttons, needs to include the <style> tags, can use "scoped".
     37            'editor_css' => '', // intended for extra styles for both visual and Text editors buttons, needs to include the <style> tags, can use "scoped".
    3838            'editor_class' => '', // add extra class(es) to the editor textarea
    3939            'teeny' => false, // output the minimal editor config used in Press This
     
    625625            <div id="wp-fullscreen-mode-bar"><div id="wp-fullscreen-modes">
    626626                <a href="#" onclick="fullscreen.switchmode('tinymce');return false;"><?php _e('Visual'); ?></a>
    627                 <a href="#" onclick="fullscreen.switchmode('html');return false;"><?php _e('HTML'); ?></a>
     627                <a href="#" onclick="fullscreen.switchmode('html');return false;"><?php _e('Text'); ?></a>
    628628            </div></div>
    629629
Note: See TracChangeset for help on using the changeset viewer.