Opened 3 years ago
Closed 3 years ago
#12066 closed defect (bug) (fixed)
Typo in canonical.php causes E_NOTICE, hinders query vars
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Canonical | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
Typo in canonical.php, patch attached.
A simple ?author=1 would generate an E_NOTICE which then prevents headers from being sent.
This does affect functionality but it's more rare. Under a typical permalink setup, /?author=1&blah=2 should redirect to /author/admin/?blah=2. Instead, blah=2 is left off since when it comes time to check $redirect['query'] there's nothing to append.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.

(In [12889]) User correct var. Props nacin. fixes #12066