WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 6 years ago

#18384 closed enhancement (fixed)

Remove the old root feed files

Reported by: nacin Owned by: nacin
Milestone: 3.3 Priority: normal
Severity: normal Version:
Component: Feeds Keywords:
Focuses: Cc:

Description

These files can all go:

  • wp-feed.php
  • wp-rss2.php
  • wp-rss.php
  • wp-atom.php
  • wp-commentsrss2.php
  • wp-rdf.php

We can keep them in the rewrite rules (in compressed form) and then catch them in canonical, and continue to redirect them there.

Additionally, we will not add these files to $_old_files, so they won't be removed on upgrade. Of course, they are safe to remove, but it'll minimize breakage of lame use of these files.

See also #4967, the EOL of RSS 0.92 and RDF.

Change History (3)

#1 @nacin
9 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In [18540]:

Remove the old root feed files. Bump the db version so rewrite rules can regenerate. Don't add these files to old_files to leave them on existing installs. fixes #18384.

#2 @westi
9 years ago

In [18715]:

Escape the dot so that it only matches dot any not any character in the old feed files redirect.
Bump the db version so the rules regenerate.
See #18384

This ticket was mentioned in IRC in #wordpress-dev by SergeyBiryukov. View the logs.


6 years ago

Note: See TracTickets for help on using tickets.