Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#41310 closed defect (bug) (duplicate)

@global WP is not present in function redirect_canonical()

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

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

Download all attachments as: .zip

Change History (3)

@jontyravi
9 years ago

#1 @jontyravi
9 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
9 years ago

  • Component GeneralCanonical
  • Focuses accessibility removed
  • Milestone Awaiting Review
  • Resolutionduplicate
  • Status newclosed

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

This was already fixed in #41238.

Note: See TracTickets for help on using tickets.