From e26f739e531b434ebba4f45525bdc3cb0650a71c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 7 Sep 2019 19:33:55 +0000 Subject: [PATCH] Posts, Post Types: Revert [46079] pending test failure investigation. See #47824. Built from https://develop.svn.wordpress.org/trunk@46080 git-svn-id: http://core.svn.wordpress.org/trunk@45892 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post-template.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.