Make WordPress Core


Ignore:
Timestamp:
11/13/2013 08:05:51 PM (10 years ago)
Author:
iammattthomas
Message:

Bring in the widgets component of MP6. See #25858.

  • A cleaner UI, with a simpler design for available and inactive widgets, and more emphasis on your sidebars.
  • Available widgets and sidebars expand to two columns at larger screen sizes making it easier to manage sites with lots of sidebars.
  • New dropzone indicator for empty sidebars.

Props shaunandrews, joen, iammattthomas.

File:
1 edited

Legend:

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

    r24229 r26140  
    6868    add_filter( 'dynamic_sidebar_params', 'wp_list_widget_controls_dynamic_sidebar' );
    6969
    70     echo "<div id='$sidebar' class='widgets-sortables'>\n";
    71 
    7270    $description = wp_sidebar_description( $sidebar );
    7371
     
    7876    }
    7977
     78    echo "<div id='$sidebar' class='widgets-sortables'>\n";
    8079    dynamic_sidebar( $sidebar );
    8180    echo "</div>\n";
Note: See TracChangeset for help on using the changeset viewer.