mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Set Available and Inactive Widget areas to not collapse, since they don't look like collapsing elements. Fixes #26327, props MikeHansenMe.
git-svn-id: https://develop.svn.wordpress.org/trunk@26593 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -71,14 +71,21 @@ function wp_list_widget_controls( $sidebar, $sidebar_name = '' ) {
|
||||
$description = wp_sidebar_description( $sidebar );
|
||||
|
||||
echo '<div id="' . esc_attr( $sidebar ) . '" class="widgets-sortables">';
|
||||
|
||||
if ( $sidebar_name ) {
|
||||
if( 'Inactive Widgets' != $sidebar_name ) {
|
||||
?>
|
||||
<div class="sidebar-name">
|
||||
<div class="sidebar-name-arrow"><br /></div>
|
||||
<h3><?php echo esc_html( $sidebar_name ); ?> <span class="spinner"></span></h3>
|
||||
</div>
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
<div>
|
||||
<h3><?php echo esc_html( $sidebar_name ); ?> <span class="spinner"></span></h3>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
||||
echo '<div class="sidebar-description">';
|
||||
|
||||
Reference in New Issue
Block a user