WordPress.org

Make WordPress Core

Changeset 22006


Ignore:
Timestamp:
09/26/2012 03:17:28 AM (6 years ago)
Author:
nacin
Message:

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.

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/schema.php

    r21998 r22006  
    378378    'default_ping_status' => 'open',
    379379    'default_pingback_flag' => 1,
    380     'default_post_edit_rows' => 20,
    381380    'posts_per_page' => 10,
    382381    /* translators: default date format, see http://php.net/date */
     
    538537        'random_seed', 'rss_excerpt_length', 'secret', 'use_linksupdate', 'default_comment_status_page',
    539538        'wporg_popular_tags', 'what_to_show', 'rss_language', 'language', 'enable_xmlrpc', 'enable_app',
    540         'autoembed_urls',
     539        'autoembed_urls', 'default_post_edit_rows',
    541540    );
    542541    foreach ( $unusedoptions as $option )
  • trunk/wp-admin/options-writing.php

    r21838 r22006  
    7070
    7171<table class="form-table">
    72 <tr valign="top">
    73 <th scope="row"><label for="default_post_edit_rows"> <?php _e('Size of the post box') ?></label></th>
    74 <td><input name="default_post_edit_rows" type="text" id="default_post_edit_rows" value="<?php form_option('default_post_edit_rows'); ?>" class="small-text" />
    75 <?php _e('lines') ?></td>
    76 </tr>
    7772<tr valign="top">
    7873<th scope="row"><?php _e('Formatting') ?></th>
  • trunk/wp-admin/options.php

    r21998 r22006  
    6464    'media' => array( 'thumbnail_size_w', 'thumbnail_size_h', 'thumbnail_crop', 'medium_size_w', 'medium_size_h', 'large_size_w', 'large_size_h', 'image_default_size', 'image_default_align', 'image_default_link_type' ),
    6565    'reading' => array( 'posts_per_page', 'posts_per_rss', 'rss_use_excerpt', 'show_on_front', 'page_on_front', 'page_for_posts', 'blog_public' ),
    66     'writing' => array( 'default_post_edit_rows', 'use_smilies', 'default_category', 'default_email_category', 'use_balanceTags', 'default_link_category', 'default_post_format' )
     66    'writing' => array( 'use_smilies', 'default_category', 'default_email_category', 'use_balanceTags', 'default_link_category', 'default_post_format' )
    6767);
    6868$whitelist_options['misc'] = $whitelist_options['options'] = $whitelist_options['privacy'] = array();
  • trunk/wp-includes/formatting.php

    r21998 r22006  
    27652765        case 'large_size_w':
    27662766        case 'large_size_h':
    2767         case 'default_post_edit_rows':
    27682767        case 'mailserver_port':
    27692768        case 'comment_max_links':
  • trunk/wp-includes/version.php

    r21998 r22006  
    1212 * @global int $wp_db_version
    1313 */
    14 $wp_db_version = 21998;
     14$wp_db_version = 22006;
    1515
    1616/**
Note: See TracChangeset for help on using the changeset viewer.