From ff88489bdcb3403a212f9d918d83e9cf5f9fe568 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 26 Sep 2012 03:17:28 +0000 Subject: [PATCH] Remove the 'Size of the post box' (default_post_edit_rows) option. This will instead be handled by a user cookie tracking the resizing of both TinyMCE and the main textarea. see #21718. git-svn-id: https://develop.svn.wordpress.org/trunk@22006 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/schema.php | 3 +-- wp-admin/options-writing.php | 5 ----- wp-admin/options.php | 2 +- wp-includes/formatting.php | 1 - wp-includes/version.php | 2 +- 5 files changed, 3 insertions(+), 10 deletions(-) diff --git a/wp-admin/includes/schema.php b/wp-admin/includes/schema.php index d3468f580b..d70790b149 100644 --- a/wp-admin/includes/schema.php +++ b/wp-admin/includes/schema.php @@ -377,7 +377,6 @@ function populate_options() { 'default_comment_status' => 'open', 'default_ping_status' => 'open', 'default_pingback_flag' => 1, - 'default_post_edit_rows' => 20, 'posts_per_page' => 10, /* translators: default date format, see http://php.net/date */ 'date_format' => __('F j, Y'), @@ -537,7 +536,7 @@ function populate_options() { 'can_compress_scripts', 'page_uris', 'update_core', 'update_plugins', 'update_themes', 'doing_cron', 'random_seed', 'rss_excerpt_length', 'secret', 'use_linksupdate', 'default_comment_status_page', 'wporg_popular_tags', 'what_to_show', 'rss_language', 'language', 'enable_xmlrpc', 'enable_app', - 'autoembed_urls', + 'autoembed_urls', 'default_post_edit_rows', ); foreach ( $unusedoptions as $option ) delete_option($option); diff --git a/wp-admin/options-writing.php b/wp-admin/options-writing.php index 42ed2833da..e7a24aa6fc 100644 --- a/wp-admin/options-writing.php +++ b/wp-admin/options-writing.php @@ -70,11 +70,6 @@ include('./admin-header.php'); - - - -
-