Changeset 18736 for trunk/wp-admin/edit-link-form.php
- Timestamp:
- 09/21/2011 06:16:24 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-link-form.php
r18247 r18736 38 38 do_action('do_meta_boxes', 'link', 'side', $link); 39 39 40 add_screen_option('layout_columns', array('max' => 2 ) );40 add_screen_option('layout_columns', array('max' => 2, 'default' => 'auto') ); 41 41 42 42 add_contextual_help($current_screen, … … 50 50 51 51 require_once ('admin-header.php'); 52 ?> 52 53 53 ?> 54 <div class="wrap"> 54 <div class="wrap columns-<?php echo (int) $screen_layout_columns ? (int) $screen_layout_columns : 'auto'; ?>"> 55 55 <?php screen_icon(); ?> 56 56 <h2><?php echo esc_html( $title ); ?> <a href="link-add.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'link'); ?></a></h2> … … 70 70 wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?> 71 71 72 <div id="poststuff" class="metabox-holder<?php echo 2 == $screen_layout_columns ? ' has-right-sidebar' : ''; ?>"> 73 72 <div id="poststuff" class="metabox-holder<?php echo 1 != $screen_layout_columns ? ' has-right-sidebar' : ''; ?>"> 74 73 <div id="side-info-column" class="inner-sidebar"> 75 74 <?php 76 77 do_action('submitlink_box');78 $side_meta_boxes = do_meta_boxes( 'link', 'side', $link );79 75 if ( 1 != $screen_layout_columns ) { 76 do_action('submitlink_box'); 77 $side_meta_boxes = do_meta_boxes( 'link', 'side', $link ); 78 } 80 79 ?> 81 80 </div> … … 109 108 <?php 110 109 110 if ( 1 == $screen_layout_columns ) { 111 do_action('submitlink_box'); 112 $side_meta_boxes = do_meta_boxes( 'link', 'side', $link ); 113 } 114 111 115 do_meta_boxes('link', 'normal', $link); 112 116
Note: See TracChangeset
for help on using the changeset viewer.