Ticket #20993: 20993.diff

File 20993.diff, 918 bytes (added by jrgp, 11 months ago)

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

Line 
1Index: wp-includes/class-wp-editor.php
2===================================================================
3--- wp-includes/class-wp-editor.php     (revision 21204)
4+++ wp-includes/class-wp-editor.php     (working copy)
5@@ -83,7 +83,7 @@
6                                $switch_class = 'tmce-active';
7                        }
8
9-                       $buttons .= '<a id="' . $editor_id . '-html" class="hide-if-no-js wp-switch-editor switch-html" onclick="switchEditors.switchto(this);">' . __('HTML') . "</a>\n";
10+                       $buttons .= '<a id="' . $editor_id . '-html" class="hide-if-no-js wp-switch-editor switch-html" onclick="switchEditors.switchto(this);">' . __('Text') . "</a>\n";
11                        $buttons .= '<a id="' . $editor_id . '-tmce" class="hide-if-no-js wp-switch-editor switch-tmce" onclick="switchEditors.switchto(this);">' . __('Visual') . "</a>\n";
12                }