WordPress.org

Make WordPress Core

Ticket #22808: text_context.patch

File text_context.patch, 798 bytes (added by pavelevap, 17 months ago)
  • wp-includes/class-wp-editor.php

     
    111111                                $switch_class = 'tmce-active'; 
    112112                        } 
    113113 
    114                         $buttons .= '<a id="' . $editor_id . '-html" class="wp-switch-editor switch-html" onclick="switchEditors.switchto(this);">' . __('Text') . "</a>\n"; 
     114                        $buttons .= '<a id="' . $editor_id . '-html" class="wp-switch-editor switch-html" onclick="switchEditors.switchto(this);">' . __( 'Text', 'Name for the Text editor tab (formerly HTML)' ) . "</a>\n"; 
    115115                        $buttons .= '<a id="' . $editor_id . '-tmce" class="wp-switch-editor switch-tmce" onclick="switchEditors.switchto(this);">' . __('Visual') . "</a>\n"; 
    116116                } 
    117117