Closed pauln closed 11 years ago
add_default_instance returns the ID, not an object - so we need to feed its return into $instance->id rather than feeding it directly into $instance.
Hi Paul -
Thanks for the patch - I've merged it in.
Cheers, Piers Harding.
add_default_instance returns the ID, not an object - so we need to feed its return into $instance->id rather than feeding it directly into $instance.