Make WordPress Core

Ticket #33584: patch-33584

File patch-33584, 734 bytes (added by dgwatkins, 10 years ago)

Lost newlines patch

Line 
1Index: wp-includes/class-wp-editor.php
2===================================================================
3--- wp-includes/class-wp-editor.php     (revision 33735)
4+++ wp-includes/class-wp-editor.php     (working copy)
5@@ -249,7 +249,7 @@
6                $the_editor = apply_filters( 'the_editor', '<div id="wp-' . $editor_id_attr . '-editor-container" class="wp-editor-container">' .
7                        $quicktags_toolbar .
8                        '<textarea' . $editor_class . $height . $tabindex . $autocomplete . ' cols="40" name="' . esc_attr( $set['textarea_name'] ) . '" ' .
9-                       'id="' . $editor_id_attr . '">%s</textarea></div>' );
10+                       'id="' . $editor_id_attr . '"> %s </textarea></div>' );
11 
12                // Prepare the content for the Visual or Text editor
13                if ( self::$this_tinymce ) {