[wp-trac] [WordPress Trac] #14773: Error in slug parsing leads to unlimited URLs for the same article = duplicate content
WordPress Trac
noreply at wordpress.org
Thu Sep 12 14:53:01 UTC 2013
#14773: Error in slug parsing leads to unlimited URLs for the same article =
duplicate content
--------------------------------------------------+-----------------------
Reporter: thermoman | Owner:
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 3.7
Component: Canonical | Version: 2.5
Severity: normal | Resolution:
Keywords: 3.2-early has-patch needs-unit-tests |
--------------------------------------------------+-----------------------
Comment (by atimmer):
Added
[http://core.trac.wordpress.org/attachment/ticket/14773/tests.14773.2.diff
tests.14773.2.diff]
It seemed like the canonical test class already has a test for this
ticket, I have added tests to test the dashes at the front and the back of
the url. I also refreshed the patch and the patch fixes all 3 test cases.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14773#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list