#5961 closed defect (bug) (fixed)
Fix some notices
Reported by: | nbachiyski | Owned by: | |
---|---|---|---|
Milestone: | 2.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | notices has-patch needs-testing |
Focuses: | Cc: |
Description
Last night I turned debugging on and fought with some notices.
In most of the places there are just isset
s added, but at some places there are more complicated cases, which need review and some testing.
Attachments (2)
Change History (8)
#2
@
17 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
After r6983, the links on my site that used my old permalink structure result in 404s. Prior to this change, the old links would automatically redirect to the new permalink structure and find the post correctly.
#4
@
17 years ago
The problem is in these two lines:
$original['query'] = isset($redirect['query'])? $redirect['query'] : false; $original['port'] = isset($redirect['port'])? $redirect['port'] : false;
Here I am filling $original
with $redirect
's values.
Copy-paste after midnight should be avoided :-)
Note: See
TracTickets for help on using
tickets.
(In [6983]) Notice fixes from nbachiyski. fixes #5961