[wp-trac] [WordPress Trac] #39535: Canonical redirects disallow tag named comments

WordPress Trac noreply at wordpress.org
Wed Jan 18 04:47:51 UTC 2017


#39535: Canonical redirects disallow tag named comments
-------------------------------------------------+-------------------------
 Reporter:  dwc                                  |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Canonical                            |  Review
 Severity:  normal                               |     Version:
 Keywords:  has-patch needs-testing needs-unit-  |  Resolution:
  tests                                          |     Focuses:
-------------------------------------------------+-------------------------

Comment (by asalce):

 @swissspidy I submitted the unit-test, The best way I could test this out
 was to test if the query vars were set correctly after a
 go_to("/tag/comments/feed/")  the query vars should have a "feed" and
 "tag" should equal "comments" , I also added some other tests to make sure
 tests were running correctly.

 @dwc perfect! :)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39535#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list