Make WordPress Core


Ignore:
Timestamp:
10/05/2011 06:46:21 PM (14 years ago)
Author:
azaozz
Message:

Revert 'auto' column setting, props markjaquith, see #18863

File:
1 edited

Legend:

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

    r18879 r18889  
    673673        $num = $this->_options['layout_columns']['max'];
    674674
    675         if ( ! $screen_layout_columns ) {
     675        if ( ! $screen_layout_columns || 'auto' == $screen_layout_columns ) {
    676676            if ( isset( $this->_options['layout_columns']['default'] ) )
    677677                $screen_layout_columns = $this->_options['layout_columns']['default'];
    678             else
    679                 $screen_layout_columns = 'auto';
    680678        }
    681679
     
    693691                <?php
    694692            endfor; ?>
    695             <label>
    696                 <input type='radio' id='wp_auto_columns' name='screen_columns' value='auto'
    697                     <?php checked( $screen_layout_columns, 'auto' ); ?> />
    698                 <?php esc_html_e('Auto'); ?>
    699             </label>
    700693        </div>
    701694        <?php
Note: See TracChangeset for help on using the changeset viewer.