Make WordPress Core


Ignore:
Timestamp:
11/29/2021 09:50:13 AM (3 years ago)
Author:
audrasjb
Message:

Feeds: Remove reference to wp-atom.php in Atom feeds xml:base attribute.

This change removes the optional xml:base attribute for Atom based feeds as wp-atom.php file was removed in [18540] (WordPress 3.3).

Follow-up to [18540].

Props tw2113, audrasjb, mukesh27.
Fixes #47955.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/feed/atom.php

    r52010 r52267  
    100100        $this->assertSame( 'http://www.w3.org/2005/Atom', $atom[0]['attributes']['xmlns'] );
    101101        $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'] );
    103102
    104103        // Verify the <feed> element is present and contains a <title> child element.
Note: See TracChangeset for help on using the changeset viewer.