Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

文章浏览次数pageviews每次都+2,而不是+1 #1

Open
ximan opened this issue Feb 8, 2019 · 2 comments
Open

文章浏览次数pageviews每次都+2,而不是+1 #1

ximan opened this issue Feb 8, 2019 · 2 comments

Comments

@ximan
Copy link

ximan commented Feb 8, 2019

首先感谢作者开发这么优秀的插件!
我发现我在本地测试此插件时,每次刷新页面例如:http://localhost/17.html
或者浏览器请求API接口地址:http://localhost/wp-json/wp/v2/posts/17
在文章列表页:http://localhost/wp-json/wp/v2/posts 查看pageviews字段每次都是+2,而不是+1
WP版本:5.0.3
插件版本:1.1

@iamxjb
Copy link
Owner

iamxjb commented Feb 13, 2019

这个你仔细检查了么?

@PascalSun
Copy link

加2不是更好吗😂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants