Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#20384 closed defect (bug) (fixed)

Canonical redirects for individual post comments feeds need work

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

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
14 years ago

  • Owner set to markjaquith
  • Resolutionfixed
  • Status newclosed

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.