diff --git a/src/wp-admin/includes/export.php b/src/wp-admin/includes/export.php index a77cb804f0780..d717822472e71 100644 --- a/src/wp-admin/includes/export.php +++ b/src/wp-admin/includes/export.php @@ -521,7 +521,6 @@ function wxr_filter_postmeta( $return_me, $meta_key ) { diff --git a/src/wp-includes/feed-rss2.php b/src/wp-includes/feed-rss2.php index 8b30313e6d606..f102a7c5a79e0 100644 --- a/src/wp-includes/feed-rss2.php +++ b/src/wp-includes/feed-rss2.php @@ -22,7 +22,6 @@ ?> - diff --git a/tests/phpunit/tests/feed/rss2.php b/tests/phpunit/tests/feed/rss2.php index c4f8807d7b7d3..0ca44dbfb66c5 100644 --- a/tests/phpunit/tests/feed/rss2.php +++ b/tests/phpunit/tests/feed/rss2.php @@ -123,7 +123,6 @@ public function test_rss_element() { $this->assertSame( '2.0', $rss[0]['attributes']['version'] ); $this->assertSame( 'http://purl.org/rss/1.0/modules/content/', $rss[0]['attributes']['xmlns:content'] ); - $this->assertSame( 'http://wellformedweb.org/CommentAPI/', $rss[0]['attributes']['xmlns:wfw'] ); $this->assertSame( 'http://purl.org/dc/elements/1.1/', $rss[0]['attributes']['xmlns:dc'] ); // RSS should have exactly one child element (channel). @@ -269,10 +268,6 @@ public function test_item_elements() { $content = xml_find( $items[ $key ]['child'], 'content:encoded' ); $this->assertSame( trim( apply_filters( 'the_content', $post->post_content ) ), trim( $content[0]['content'] ) ); } - - // Comment RSS. - $comment_rss = xml_find( $items[ $key ]['child'], 'wfw:commentRss' ); - $this->assertSame( html_entity_decode( get_post_comments_feed_link( $post->ID ) ), $comment_rss[0]['content'] ); } } @@ -301,10 +296,6 @@ public function test_items_comments_closed() { // Comment link. $comments_link = xml_find( $items[ $key ]['child'], 'comments' ); $this->assertEmpty( $comments_link ); - - // Comment RSS. - $comment_rss = xml_find( $items[ $key ]['child'], 'wfw:commentRss' ); - $this->assertEmpty( $comment_rss ); } remove_filter( 'comments_open', '__return_false' );