diff --git a/wp-includes/class-wp-customize-widgets.php b/wp-includes/class-wp-customize-widgets.php index ca171b2e57..f65e7bfe48 100644 --- a/wp-includes/class-wp-customize-widgets.php +++ b/wp-includes/class-wp-customize-widgets.php @@ -1694,6 +1694,7 @@ final class WP_Customize_Widgets { * @param int|string $index Index, name, or ID of the dynamic sidebar. */ public function end_dynamic_sidebar( $index ) { + array_shift( $this->current_dynamic_sidebar_id_stack ); if ( ! $this->manager->selective_refresh->is_render_partials_request() ) { printf( "\n\n", esc_html( $index ), intval( $this->sidebar_instance_count[ $index ] ) ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index dc2f81e0f4..1335d60b34 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-36622'; +$wp_version = '4.5-alpha-36623'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.