Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#41310 closed defect (bug) (duplicate)

@global WP is not present in function redirect_canonical()

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

Description

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 8 years ago.

Download all attachments as: .zip

Change History (3)

@jontyravi
8 years ago

#1 @jontyravi
8 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
8 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.