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

props celloexpressions.
fixes #28979.

Built from https://develop.svn.wordpress.org/trunk@29488


git-svn-id: http://core.svn.wordpress.org/trunk@29266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin
2014-08-14 04:43:16 +00:00
parent ba9ee74028
commit de569d83a1
7 changed files with 28 additions and 14 deletions

View File

@@ -161,11 +161,8 @@ do_action( 'customize_controls_print_scripts' );
<div id="customize-theme-controls"><ul>
<?php
foreach ( $wp_customize->panels() as $panel ) {
$panel->maybe_render();
}
foreach ( $wp_customize->sections() as $section ) {
$section->maybe_render();
foreach ( $wp_customize->containers() as $container ) {
$container->maybe_render();
}
?>
</ul></div>