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)
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hi @jontyravi, welcome to WordPress Trac! Thanks for the patch.
This was already fixed in #41238.