diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index 85b61e3a5a..9554de3d2f 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -690,7 +690,7 @@ function get_feed_link( $feed = '' ) { $permalink = $wp_rewrite->get_feed_permastruct(); - if ( '' !== $permalink ) { + if ( $permalink ) { if ( false !== strpos( $feed, 'comments_' ) ) { $feed = str_replace( 'comments_', '', $feed ); $permalink = $wp_rewrite->get_comment_feed_permastruct(); diff --git a/wp-includes/version.php b/wp-includes/version.php index 3ab0e5f14d..26898b4bf9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.7-beta2-50353'; +$wp_version = '5.7-beta2-50354'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.