Issue #2030457 by Mark Carver, Cottser: Fixed Warning: Missing argument 3 for template_preprocess() for theme functions overridden by templates.