From f25f241573c13f5b1f89f926373af413d1f07ada Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 16 Apr 2019 00:46:51 +0000 Subject: [PATCH] Feeds: Remove whitespace from `` elements in Atom feeds. Per Atom format's RFC, there must not be any whitespace in a Date construct or in any IRI. Props josephwa. Fixes #46922. Built from https://develop.svn.wordpress.org/trunk@45208 git-svn-id: http://core.svn.wordpress.org/trunk@45017 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/feed-atom-comments.php | 7 +++---- wp-includes/feed-atom.php | 7 +++---- wp-includes/version.php | 2 +- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/wp-includes/feed-atom-comments.php b/wp-includes/feed-atom-comments.php index fe92ed71fa..4e59ee2ce1 100644 --- a/wp-includes/feed-atom-comments.php +++ b/wp-includes/feed-atom-comments.php @@ -43,12 +43,11 @@ do_action( 'rss_tag_pre', 'atom-comments' ); - - - + // phpcs:ignore Squiz.PHP.EmbeddedPhp.ContentAfterEnd + ?> diff --git a/wp-includes/feed-atom.php b/wp-includes/feed-atom.php index a30ae3e3b1..12508b4dc3 100644 --- a/wp-includes/feed-atom.php +++ b/wp-includes/feed-atom.php @@ -30,12 +30,11 @@ do_action( 'rss_tag_pre', 'atom' ); <?php wp_title_rss(); ?> - - - + // phpcs:ignore Squiz.PHP.EmbeddedPhp.ContentAfterEnd + ?> diff --git a/wp-includes/version.php b/wp-includes/version.php index 9d9f5fdfc8..9a761cb956 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2-beta3-45207'; +$wp_version = '5.2-beta3-45208'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.