Make WordPress Core

Opened 7 years ago

Closed 5 years ago

Last modified 5 years ago

#47955 closed defect (bug) (fixed)

feed-atom.php references old wp-atom.php xml:base

Reported by: tw2113 Owned by: audrasjb
Priority: normal Milestone: 5.9
Component: Feeds Version:
Severity: normal Keywords: has-patch commit has-unit-tests
Cc: Focuses:

Description

wp-atom.php was a file removed, among some others, in version 3.3 but the template file for Atom based feeds was not updated to reflect.

xml:base="https://mydomain.com/wp-atom.php"

Since this base property is an optional one, we should likely have zero issue with removing it.

Attachments (1)

remove-wp-atom-php-ref.diff​ (494 bytes ) - added by tw2113 7 years ago.

Download all attachments as: .zip

Change History (15)

#1 @SergeyBiryukov
7 years ago

  • Component General → Feeds

#2 @tw2113
6 years ago

Just curious if we want to get this into perhaps 5.8 as well, since it's such a minuscule change and shouldn't be breaking of anything that I can think of.

#3 @SergeyBiryukov
6 years ago

  • Milestone Awaiting Review → 5.8

This ticket was mentioned in ​Slack in #core by chaion07. ​View the logs.


5 years ago

#5 @JeffPaul
5 years ago

  • Keywords has-patch added

#6 @chaion07
5 years ago

  • Milestone 5.8 → 5.9

Thanks to @tw2113 for reporting this. We recently reviewed this during a recent [bug-scrub session]​https://wordpress.slack.com/archives/C02RQBWTW/p1623097405364300. With Beta 1 coming up in a day punting it to 5.9. Milestone updated. Thanks

#7 @mukesh27
5 years ago

Patch remove-wp-atom-php-ref.diff​ working fine and ready to marge. Ping @SergeyBiryukov for review.

#9 @audrasjb
5 years ago

  • Keywords needs-refresh added

I added a PR to test the changes, and it looks like we'll need to update the Atom unit tests as well.

#10 @audrasjb
5 years ago

  • Keywords commit added; needs-refresh removed

Tests are passing now.
Marking for commit.

#11 @audrasjb
5 years ago

  • Keywords has-unit-tests added

Updated the unit tests in PR#1966.

#12 @audrasjb
5 years ago

  • Owner set to audrasjb
  • Status new → assigned

Self assigning for commit.

#13 @audrasjb
5 years ago

  • Resolution → fixed
  • Status assigned → closed

In 52267:

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.

Note: See TracTickets for help on using tickets.