#5961 closed defect (bug) (fixed)
Fix some notices
| Reported by: | nbachiyski | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.5 |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | notices has-patch needs-testing |
| Cc: | Focuses: |
Description
Last night I turned debugging on and fought with some notices.
In most of the places there are just issets added, but at some places there are more complicated cases, which need review and some testing.
Attachments (2)
Change History (8)
#2
@
18 years ago
- Resolution fixed
- Status closed → 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
@
18 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [6983]) Notice fixes from nbachiyski. fixes #5961