Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#20384 closed defect (bug) (fixed)

Canonical redirects for individual post comments feeds need work

Reported by: markjaquith's profile markjaquith Owned by: markjaquith's profile markjaquith
Milestone: 3.4 Priority: normal
Severity: normal Version:
Component: Canonical Keywords:
Focuses: Cc:

Description

Several of the unit tests related to individual post comments feeds are failing.

11) WP_Canonical::test with data set #55 ('/2008/03/03/comment-test/?feed=comments-atom', '/2008/03/03/comment-test/feed/atom/')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'/2008/03/03/comment-test/feed/atom/'
+'/2008/03/03/comment-test/comments/feed/atom/'
12) WP_Canonical::test with data set #56 ('/?p=149&feed=comments-atom', '/2008/03/03/comment-test/feed/atom/')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'/2008/03/03/comment-test/feed/atom/'
+'/comments/feed/atom/'
13) WP_Canonical::test with data set #57 ('/2008/03/03/comment-test/?feed=comments-atom', '/2008/03/03/comment-test/feed/atom/')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'/2008/03/03/comment-test/feed/atom/'
+'/2008/03/03/comment-test/comments/feed/atom/'

Change History (1)

#1 @markjaquith
12 years ago

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

In [20396]:

Fix a bunch of individual post comments feeds canonical redirects. Fixes three unit tests. fixes #20384

Note: See TracTickets for help on using tickets.