Ticket #26327: 26327.3.diff
File 26327.3.diff, 2.5 KB (added by , 11 years ago) |
---|
-
wp-admin/css/wp-admin.css
10487 10487 text-decoration: none !important; 10488 10488 } 10489 10489 10490 .js #widgets-left .sidebar-name .sidebar-name-arrow { 10491 display: none; 10492 } 10493 10494 .js #widgets-left .widgets-holder-wrap.closed .sidebar-name .sidebar-name-arrow, 10495 .js #widgets-left .sidebar-name:hover .sidebar-name-arrow { 10496 display: block; 10497 } 10498 10490 10499 /* Show the arrow only on hover */ 10491 10500 .js .sidebar-name .sidebar-name-arrow:before, 10492 10501 .js .meta-box-sortables .postbox .handlediv:before { -
wp-admin/includes/widgets.php
71 71 $description = wp_sidebar_description( $sidebar ); 72 72 73 73 echo '<div id="' . esc_attr( $sidebar ) . '" class="widgets-sortables">'; 74 74 75 if ( $sidebar_name ) { 75 if( 'Inactive Widgets' != $sidebar_name ) {76 76 ?> 77 77 <div class="sidebar-name"> 78 78 <div class="sidebar-name-arrow"><br /></div> … … 79 79 <h3><?php echo esc_html( $sidebar_name ); ?> <span class="spinner"></span></h3> 80 80 </div> 81 81 <?php 82 } else {83 ?>84 <div>85 <h3><?php echo esc_html( $sidebar_name ); ?> <span class="spinner"></span></h3>86 </div>87 <?php88 }89 82 } 90 83 91 84 echo '<div class="sidebar-description">'; -
wp-admin/widgets.php
329 329 <div class="widget-liquid-left"> 330 330 <div id="widgets-left"> 331 331 <div id="available-widgets" class="widgets-holder-wrap"> 332 <div> 332 <div class="sidebar-name"> 333 <div class="sidebar-name-arrow"><br /></div> 333 334 <h3><?php _e('Available Widgets'); ?> <span id="removing-widget"><?php _ex('Deactivate', 'removing-widget'); ?> <span></span></span></h3> 334 335 </div> 335 336 <div class="widget-holder"> … … 349 350 $theme_sidebars = array(); 350 351 foreach ( $wp_registered_sidebars as $sidebar => $registered_sidebar ) { 351 352 if ( false !== strpos( $registered_sidebar['class'], 'inactive-sidebar' ) || 'orphaned_widgets' == substr( $sidebar, 0, 16 ) ) { 352 $wrap_class = ( $registered_sidebar['id'] == 'wp_inactive_widgets' ) ? '' :'widgets-holder-wrap';353 $wrap_class = 'widgets-holder-wrap'; 353 354 if ( !empty( $registered_sidebar['class'] ) ) 354 355 $wrap_class .= ' ' . $registered_sidebar['class']; 355 356