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

WordPress Trac noreply at wordpress.org
Mon Jul 11 23:39:03 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 needs-testing-info                       |
-------------------------------------------------+-------------------------
Changes (by ironprogrammer):

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


Comment:

 I've also been unable to reproduce this issue so far. I tried using the
 [https://core.trac.wordpress.org/ticket/34353#comment:14 Plain permalink
 setting suggested by] @RavanH (`http://wp-test.test/?p=123`), but couldn't
 repro 😔

 For anyone still experiencing this issue, it would be most excellent if
 you would provide a [https://make.wordpress.org/test/handbook/test-reports
 /#bug-defect-testing-instructions-template list of test instructions] and
 [https://make.wordpress.org/test/handbook/test-reports/#reproduction-
 report-template reproduction environment information] on this ticket 🙌🏻
 Please make sure to include any environment setup information that is
 necessary to reproduce the problem (e.g. a specific plugin or site
 configuration).

 Please note that @ultraflux79's [#comment:24 backtrace comment] references
 a (paid?) plugin that is calling
 [https://developer.wordpress.org/reference/functions/redirect_canonical/
 redirect_canonical()]. In that context, is the optional `$requested_url`
 parameter being set? Is it only a relative path being passed, like
 `/another-page/`, or a full URL? What's happening there may qualify it as
 related to this issue, or identify a possible plugin issue that should be
 resolved separately from this ticket.

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


More information about the wp-trac mailing list