Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#41310 closed defect (bug) (duplicate)

@global WP is not present in function redirect_canonical()

Reported by: jontyravi Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Canonical Keywords: has-patch
Focuses: docs Cc:


global $wp is used in redirect_canonical() function but it is not mentioned in the documentation of the function.

Attachments (1)

41310.patch (475 bytes) - added by jontyravi 4 years ago.

Download all attachments as: .zip

Change History (3)

4 years ago

#1 @jontyravi
4 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
4 years ago

  • Component changed from General to Canonical
  • Focuses accessibility removed
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi @jontyravi, welcome to WordPress Trac! Thanks for the patch.

This was already fixed in #41238.

Note: See TracTickets for help on using tickets.