[wp-trac] [WordPress Trac] #39827: notice in wp-includes/canonical.php:392

WordPress Trac noreply at wordpress.org
Mon May 9 13:34:52 UTC 2022

#39827: notice in wp-includes/canonical.php:392
 Reporter:  jakubbis                             |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Canonical                            |     Version:  4.7.2
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-unit-  |     Focuses:
  tests                                          |

Comment (by psykro):

 @jakubbis thanks for sharing the set up steps.

 I hope you don't mind me asking this, but I'm curious as to step 2

 > Set permalinks to postname without ending slash: /%postname%

 Is there a specific reason you're creating this permalink. I only ask
 because if you click on the Post name option under Permalinks, it adds the
 trailing slash, which is generally expected when setting permalinks and
 using WordPress rewrite URLs. So I'm interested in the specific use case
 to need to remove it.

Ticket URL: <https://core.trac.wordpress.org/ticket/39827#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list