Closed (fixed)
Project:
Wordpress Import
Version:
6.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Oct 2010 at 16:22 UTC
Updated:
9 Jan 2011 at 20:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
1kenthomas commentedUser is an Object here AFAIKT. Are there contexts/times when it will be an Array?
Comment #2
1kenthomas commentedHave code, will post.
Comment #3
1kenthomas commentedVery preliminary code-- in case anyone needs it-- I tried to check if array properly (if your php is strict, then it will error on (if_array ($x) && $x['x'] ==... ) when $x is not an array, and then just rewrote everything assuming $x is always an object.
Comment #4
1kenthomas commentedDe-self-assigning, as I would need to know how the maintainers want to handle; however, seems to remain a major bug.
Comment #5
lavamind commentedFixed in 6.x-2.x-dev
The line
global $user;in the function was added by mistake.Thanks!