是有没有任何干净的方式来覆盖 _forum_topics_unread 函数调用 template_preprocess_forum_list 没有黑客攻击核心？
is there any clean way to override _forum_topics_unread function call from template_preprocess_forum_list without hacking the core?
If you want to get tricky, you can use hook_theme_registry_alter(), and unset the core preprocess and replace it with your own. Advanced Forum makes use of that, if you want to see an example.
No, hardcoded function calls can not be replaced.
The only thing you can do is add your own preprocess function for "forum_list "(
yourmodule_preprocess_forum_list()), and then call another function to overwrite the value returned by the function.
Core Override (http://drupal.org/sandbox/gielfeldt/1546970) allows you to override individual functions in core without patching core.