Ticket #22808: text_context.patch
| File text_context.patch, 798 bytes (added by , 13 years ago) |
|---|
-
wp-includes/class-wp-editor.php
111 111 $switch_class = 'tmce-active'; 112 112 } 113 113 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"; 115 115 $buttons .= '<a id="' . $editor_id . '-tmce" class="wp-switch-editor switch-tmce" onclick="switchEditors.switchto(this);">' . __('Visual') . "</a>\n"; 116 116 } 117 117