Changeset 52267
- Timestamp:
- 11/29/2021 09:50:13 AM (2 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/feed-atom.php
r50556 r52267 18 18 xmlns:thr="http://purl.org/syndication/thread/1.0" 19 19 xml:lang="<?php bloginfo_rss( 'language' ); ?>" 20 xml:base="<?php bloginfo_rss( 'url' ); ?>/wp-atom.php"21 20 <?php 22 21 /** -
trunk/tests/phpunit/tests/feed/atom.php
r52010 r52267 100 100 $this->assertSame( 'http://www.w3.org/2005/Atom', $atom[0]['attributes']['xmlns'] ); 101 101 $this->assertSame( 'http://purl.org/syndication/thread/1.0', $atom[0]['attributes']['xmlns:thr'] ); 102 $this->assertSame( site_url( '/wp-atom.php' ), $atom[0]['attributes']['xml:base'] );103 102 104 103 // Verify the <feed> element is present and contains a <title> child element.
Note: See TracChangeset
for help on using the changeset viewer.