Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #50976, comment 6


Ignore:
Timestamp:
08/14/2020 04:03:25 PM (4 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #50976, comment 6

    initial v1  
    88
    99So I would recommend changing this variable in any custom code to some other name to avoid conflicts.
     10
     11As another possible solution, you can disable the `redirect_canonical()` function for these requests, that is attached to the `template_redirect` action by default.