X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/5aa86a9053fb0fa15846bb60aac2fb8fdfff524a..256a3b381f63716209b3527d0a14442ae570c283:/wp-includes/class-wp-editor.php diff --git a/wp-includes/class-wp-editor.php b/wp-includes/class-wp-editor.php index a272eb7e..16a2e5e1 100644 --- a/wp-includes/class-wp-editor.php +++ b/wp-includes/class-wp-editor.php @@ -3,7 +3,7 @@ * Facilitates adding of the WordPress editor as used on the Write and Edit screens. * * @package WordPress - * @since 3.3 + * @since 3.3.0 * * Private, not included by default. See wp_editor() in wp-includes/general-template.php. */ @@ -32,9 +32,10 @@ final class _WP_Editors { 'wpautop' => true, // use wpautop? 'media_buttons' => true, // show insert/upload button(s) 'textarea_name' => $editor_id, // set the textarea name to something different, square brackets [] can be used here - 'textarea_rows' => get_option('default_post_edit_rows', 10), // rows="..." + 'textarea_rows' => 20, 'tabindex' => '', - 'editor_css' => '', // intended for extra styles for both visual and HTML editors buttons, needs to include the