Customizer: Mixed priority sorting for panels and top-level sections.

props celloexpressions.
fixes #28979.


git-svn-id: https://develop.svn.wordpress.org/trunk@29488 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2014-08-14 04:42:30 +00:00
parent 112f9e9cc7
commit bc582fc058
4 changed files with 25 additions and 11 deletions

View File

@@ -434,8 +434,9 @@ final class WP_Customize_Widgets {
}
$this->manager->add_panel( 'widgets', array(
'title' => __( 'Widgets' ),
'title' => __( 'Widgets' ),
'description' => __( 'Widgets are independent sections of content that can be placed into widgetized areas provided by your theme (commonly called sidebars).' ),
'priority' => 110,
) );
foreach ( $sidebars_widgets as $sidebar_id => $sidebar_widget_ids ) {