Make WordPress Core


Ignore:
Timestamp:
12/04/2013 04:30:05 PM (13 years ago)
Author:
iammattthomas
Message:

Revert r26593 so Available and Inactive widgets are once again collapsible. Make the arrows only appear on hover when uncollapsed. Fixes #26327, props nacin.

File:
1 edited

Legend:

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

    r26593 r26608  
    7272
    7373        echo '<div id="' . esc_attr( $sidebar ) . '" class="widgets-sortables">';
     74
    7475        if ( $sidebar_name ) {
    75                 if( 'Inactive Widgets' != $sidebar_name ) {
    7676                ?>
    7777                <div class="sidebar-name">
    … …  
    8080                </div>
    8181                <?php
    82                 } else {
    83                 ?>
    84                 <div>
    85                         <h3><?php echo esc_html( $sidebar_name ); ?> <span class="spinner"></span></h3>
    86                 </div>
    87                 <?php
    88                 }
    8982        }
    9083
Note: See TracChangeset for help on using the changeset viewer.