Issue #3120954 by tim.plunkett, czigor: Add function name to the deprecation message about theme functions (cherry picked from commit 6cd25dfd)