Changeset 18889
- Timestamp:
- 10/05/2011 06:46:21 PM (13 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r18867 r18889 160 160 do_action('do_meta_boxes', $post_type, 'side', $post); 161 161 162 $current_screen->add_option('layout_columns', array('max' => 2, 'default' => 'auto') );162 $current_screen->add_option('layout_columns', array('max' => 2, 'default' => 2) ); 163 163 164 164 $current_screen->add_option_context( -
trunk/wp-admin/edit-link-form.php
r18867 r18889 38 38 do_action('do_meta_boxes', 'link', 'side', $link); 39 39 40 $current_screen->add_option('layout_columns', array('max' => 2, 'default' => 'auto') );40 $current_screen->add_option('layout_columns', array('max' => 2, 'default' => 2) ); 41 41 42 42 $current_screen->add_option_context( -
trunk/wp-admin/includes/screen.php
r18879 r18889 673 673 $num = $this->_options['layout_columns']['max']; 674 674 675 if ( ! $screen_layout_columns ) {675 if ( ! $screen_layout_columns || 'auto' == $screen_layout_columns ) { 676 676 if ( isset( $this->_options['layout_columns']['default'] ) ) 677 677 $screen_layout_columns = $this->_options['layout_columns']['default']; 678 else679 $screen_layout_columns = 'auto';680 678 } 681 679 … … 693 691 <?php 694 692 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>700 693 </div> 701 694 <?php -
trunk/wp-admin/index.php
r18867 r18889 26 26 $current_screen->add_option('layout_columns', array('max' => 4, 'default' => 1) ); 27 27 else 28 $current_screen->add_option('layout_columns', array('max' => 4, 'default' => 'auto') );28 $current_screen->add_option('layout_columns', array('max' => 4, 'default' => 2) ); 29 29 30 30 $current_screen->add_option_context( -
trunk/wp-admin/network/index.php
r18867 r18889 39 39 add_thickbox(); 40 40 41 $current_screen->add_option('layout_columns', array('max' => 4, 'default' => 'auto') );41 $current_screen->add_option('layout_columns', array('max' => 4, 'default' => 2) ); 42 42 43 43 $current_screen->add_option_context(
Note: See TracChangeset
for help on using the changeset viewer.