diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index a5ab249948..ddb5180117 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -282,7 +282,7 @@ function get_the_content( $more_link_text = null, $strip_teaser = false, $post = return ''; } - if ( null === $post && in_the_loop() ) { + if ( null === $post ) { $elements = compact( 'page', 'more', 'preview', 'pages', 'multipage' ); } else { $elements = generate_postdata( $_post ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 44e496b84d..7647756cf5 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-46079'; +$wp_version = '5.3-alpha-46080'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.