Make WordPress Core

Ticket #20993: 20993.diff

File 20993.diff, 918 bytes (added by jrgp, 13 years ago)

Turns "HTML" to "Text" as required by ticket.

  • wp-includes/class-wp-editor.php

     
    8383                               $switch_class = 'tmce-active';
    8484                       }
    8585
    86                        $buttons .= '<a id="' . $editor_id . '-html" class="hide-if-no-js wp-switch-editor switch-html" onclick="switchEditors.switchto(this);">' . __('HTML') . "</a>\n";
     86                       $buttons .= '<a id="' . $editor_id . '-html" class="hide-if-no-js wp-switch-editor switch-html" onclick="switchEditors.switchto(this);">' . __('Text') . "</a>\n";
    8787                       $buttons .= '<a id="' . $editor_id . '-tmce" class="hide-if-no-js wp-switch-editor switch-tmce" onclick="switchEditors.switchto(this);">' . __('Visual') . "</a>\n";
    8888               }