diff --git a/wp-content/themes/twentyseventeen/inc/template-tags.php b/wp-content/themes/twentyseventeen/inc/template-tags.php index 1fc405772c..f94e3c9c87 100644 --- a/wp-content/themes/twentyseventeen/inc/template-tags.php +++ b/wp-content/themes/twentyseventeen/inc/template-tags.php @@ -141,7 +141,6 @@ function twentyseventeen_front_page_section( $partial = null, $id = 0 ) { global $post; // Modify the global post object before setting up post data. if ( get_theme_mod( 'panel_' . $id ) ) { - global $post; $post = get_post( get_theme_mod( 'panel_' . $id ) ); setup_postdata( $post ); set_query_var( 'panel', $id ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 6ee8c09897..b396f8cc3b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.8-alpha-39908'; +$wp_version = '4.8-alpha-39909'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.