Ticket #38061: 38061.diff
File 38061.diff, 987 bytes (added by , 8 years ago) |
---|
-
src/wp-includes/class-wp-editor.php
176 176 } 177 177 178 178 $buttons .= '<button type="button" id="' . $editor_id_attr . '-tmce" class="wp-switch-editor switch-tmce"' . 179 ' data-wp-editor-id="' . $editor_id_attr . '">' . __('Visual ') . "</button>\n";179 ' data-wp-editor-id="' . $editor_id_attr . '">' . __('Visual Editor') . "</button>\n"; 180 180 $buttons .= '<button type="button" id="' . $editor_id_attr . '-html" class="wp-switch-editor switch-html"' . 181 ' data-wp-editor-id="' . $editor_id_attr . '">' . _x( ' Text', 'Name for the Text editor tab (formerly HTML)' ) . "</button>\n";181 ' data-wp-editor-id="' . $editor_id_attr . '">' . _x( 'HTML Editor', 'Name for the Text editor tab (formerly HTML)' ) . "</button>\n"; 182 182 } else { 183 183 $default_editor = 'tinymce'; 184 184 }