diff -r c7c34916027a -r 177826044cd9 wp/wp-includes/feed-atom.php --- a/wp/wp-includes/feed-atom.php Mon Oct 14 18:06:33 2019 +0200 +++ b/wp/wp-includes/feed-atom.php Mon Oct 14 18:28:13 2019 +0200 @@ -5,38 +5,35 @@ * @package WordPress */ -header('Content-Type: ' . feed_content_type('atom') . '; charset=' . get_option('blog_charset'), true); +header( 'Content-Type: ' . feed_content_type( 'atom' ) . '; charset=' . get_option( 'blog_charset' ), true ); $more = 1; -echo ''; +echo ''; /** This action is documented in wp-includes/feed-rss2.php */ do_action( 'rss_tag_pre', 'atom' ); ?> - > + xmlns="http://www.w3.org/2005/Atom" + xmlns:thr="http://purl.org/syndication/thread/1.0" + xml:lang="" + xml:base="/wp-atom.php" + +> <?php wp_title_rss(); ?> - + - + - - + + + while ( have_posts() ) : + the_post(); + ?> - - - - + + + + ?> - <![CDATA[<?php the_title_rss() ?>]]> - - - - - + <![CDATA[<?php the_title_rss(); ?>]]> + + + + + ]]> - - ]]> - - + ]]> + + - - - - + if ( get_comments_number() || comments_open() ) : + ?> + + + + - +