Use TRUE instead of 1 in variable_gets... and don't forget that default!
TRUE and 1 make no difference for how things work, but TRUE is a proper
Leaving off this default value in a variable_get(), however, that was a
Move insertion of extra space to inside extra text, not when adding.
This prevents the space from being added when there is no extra text for the
flattening arrays and objects function, and is more flexible (in case this
extra text should follow without a space) than an if statement around
adding the extra text and a hardcoded space.
Moved krumo logic to preprocess function, prevented double placeholder wrapping.
The if krumo available print objects and arrays below main help, from the
December 25 commit that was among those forgotten on gitorious, is now
integrated into the more recent preprocess function work. Lightly tested.
Better fix for PHP warning about arrays and objects when showing page callback.
Passing to htmlspecialchars caused the error. Prevented by flattening such
objects before attempting to print them in the show page callback function.
Additionally, outputs arrays and objects below with krumo if it is present.
Abstracts the logic of flattening to a new function, xray_flatten_argument().