From 1b75eab6f814246e3e50144124ea01241863bb12 Mon Sep 17 00:00:00 2001 From: Mashiro Date: Fri, 7 Jun 2019 17:53:06 +0800 Subject: [PATCH] fix --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 2791b1c..d3aa5b3 100644 --- a/functions.php +++ b/functions.php @@ -481,7 +481,7 @@ add_action('get_header', 'set_post_views'); function get_post_views($post_id) { if (akina_option('statistics_api')=='wp_statistics'){ - if (!function_exists(wp_statistics_pages)) { + if (!function_exists('wp_statistics_pages')) { return '请安装 WP-Statistics 插件'; } else { return restyle_text(wp_statistics_pages('total','uri',$post_id));