[wp-trac] [WordPress Trac] #12456: Canonical URL redirect issue with post_id/postname permalink structure

WordPress Trac noreply at wordpress.org
Wed Jun 2 04:50:36 UTC 2021


#12456: Canonical URL redirect issue with post_id/postname permalink structure
--------------------------------------+-----------------------------
 Reporter:  Frank.Prendergast         |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  reopened
 Priority:  normal                    |   Milestone:  Future Release
Component:  Canonical                 |     Version:  2.9.2
 Severity:  normal                    |  Resolution:
 Keywords:  has-unit-tests has-patch  |     Focuses:
--------------------------------------+-----------------------------
Changes (by bmcculley):

 * keywords:  needs-unit-tests needs-patch => has-unit-tests has-patch


Comment:

 Hello,

 I've tried my hand at creating a patch and a unit test for this one. For
 the test I created a whole new file. I wasn't sure what to do for that so
 I attached the whole thing. If something is not right please let me know;
 I'd be happy to fix it.

 Thank you

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


More information about the wp-trac mailing list