diff --git a/wp-includes/class-wp-customize-panel.php b/wp-includes/class-wp-customize-panel.php index 8f85049dcb..f289cb7ff0 100644 --- a/wp-includes/class-wp-customize-panel.php +++ b/wp-includes/class-wp-customize-panel.php @@ -162,7 +162,7 @@ class WP_Customize_Panel { } /** - * Render the panel, and the sections that have been added to it. + * Render the panel container, and then its contents. * * @since 4.0.0 * @access protected @@ -175,26 +175,36 @@ class WP_Customize_Panel { +
  • +
    + ' . esc_html( $this->title ) . '' ); + ?> +
    + description ) ) : ?> +
    + description; ?> +
    + +
  • + sections as $section ) { + $section->maybe_render(); + } + } +}