我刚刚安装并尝试运行最新的主题检查,但遇到了以下致命错误:
致命错误:未捕获错误:调用未定义的函数get_theme_data_from_contents()
在第12行的/***/public_html/wp-content/plugins/theme-check/checks/style_tags.php中调用堆栈:Style_Tags::check()
wp-content/plugins/theme-check/checkbase.php:114
运行_主题检查()
wp-content/plugins/theme-check/checkbase.php:83
运行_themechecks_against_theme()
wp-content/plugins/theme-check/main.php:27
check_main()
wp-content/plugins/theme-check/theme-check。php:66
主题检查Main::themecheck_do_page()
wp-includes/class-wp-hook.php:310
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:334
WP_Hook::操作()
wp-includes/plugin.php:517
do_action()
wp-admin/admin.php:259
require_once()
wp-admin/themes.php:10