Version Description
- Improvement: REST API request.
- Improvement: Minor issues.
- Fixed: Issue to uninstalling the tables.
Download this release
Release Info
Developer | mostafa.s1990 |
Plugin | WP Statistics |
Version | 12.6.11 |
Comparing to | |
See all releases |
Code changes from version 12.6.10 to 12.6.11
- .gitignore +0 -26
- CODE_OF_CONDUCT.md +0 -46
- README.md +0 -59
- assets/js/front.js +6 -0
- assets/js/front.min.js +1 -0
- composer.json +0 -13
- composer.lock +0 -481
- includes/classes/class-wp-statistics-admin.php +1 -1
- includes/classes/class-wp-statistics-frontend.php +10 -29
- includes/classes/class-wp-statistics-hits.php +3 -11
- includes/classes/class-wp-statistics-rest.php +113 -17
- includes/classes/class-wp-statistics-uninstall.php +1 -1
- includes/log/widgets/about.php +1 -1
- includes/templates/welcome.php +0 -4
- older-changelog.txt +0 -888
- readme.txt +7 -3
- wp-statistics.php +1 -1
.gitignore
DELETED
@@ -1,26 +0,0 @@
|
|
1 |
-
### macOS ###
|
2 |
-
*.DS_Store
|
3 |
-
.AppleDouble
|
4 |
-
.LSOverride
|
5 |
-
|
6 |
-
# Icon must end with two \r
|
7 |
-
Icon
|
8 |
-
|
9 |
-
# Thumbnails
|
10 |
-
._*
|
11 |
-
|
12 |
-
# Files that might appear in the root of a volume
|
13 |
-
.DocumentRevisions-V100
|
14 |
-
.fseventsd
|
15 |
-
.Spotlight-V100
|
16 |
-
.TemporaryItems
|
17 |
-
.Trashes
|
18 |
-
.VolumeIcon.icns
|
19 |
-
.com.apple.timemachine.donotpresent
|
20 |
-
|
21 |
-
# Directories potentially created on remote AFP share
|
22 |
-
.AppleDB
|
23 |
-
.AppleDesktop
|
24 |
-
Network Trash Folder
|
25 |
-
Temporary Items
|
26 |
-
.apdisk
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CODE_OF_CONDUCT.md
DELETED
@@ -1,46 +0,0 @@
|
|
1 |
-
# Contributor Covenant Code of Conduct
|
2 |
-
|
3 |
-
## Our Pledge
|
4 |
-
|
5 |
-
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
|
6 |
-
|
7 |
-
## Our Standards
|
8 |
-
|
9 |
-
Examples of behavior that contributes to creating a positive environment include:
|
10 |
-
|
11 |
-
* Using welcoming and inclusive language
|
12 |
-
* Being respectful of differing viewpoints and experiences
|
13 |
-
* Gracefully accepting constructive criticism
|
14 |
-
* Focusing on what is best for the community
|
15 |
-
* Showing empathy towards other community members
|
16 |
-
|
17 |
-
Examples of unacceptable behavior by participants include:
|
18 |
-
|
19 |
-
* The use of sexualized language or imagery and unwelcome sexual attention or advances
|
20 |
-
* Trolling, insulting/derogatory comments, and personal or political attacks
|
21 |
-
* Public or private harassment
|
22 |
-
* Publishing others' private information, such as a physical or electronic address, without explicit permission
|
23 |
-
* Other conduct which could reasonably be considered inappropriate in a professional setting
|
24 |
-
|
25 |
-
## Our Responsibilities
|
26 |
-
|
27 |
-
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
|
28 |
-
|
29 |
-
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
|
30 |
-
|
31 |
-
## Scope
|
32 |
-
|
33 |
-
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
|
34 |
-
|
35 |
-
## Enforcement
|
36 |
-
|
37 |
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at mostafa.soufi@hotmail.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
|
38 |
-
|
39 |
-
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
|
40 |
-
|
41 |
-
## Attribution
|
42 |
-
|
43 |
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
|
44 |
-
|
45 |
-
[homepage]: http://contributor-covenant.org
|
46 |
-
[version]: http://contributor-covenant.org/version/1/4/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
README.md
DELETED
@@ -1,59 +0,0 @@
|
|
1 |
-
[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/wp-statistics/wp-statistics.svg)](http://isitmaintained.com/project/wp-statistics/wp-statistics "Average time to resolve an issue")
|
2 |
-
[![Percentage of issues still open](http://isitmaintained.com/badge/open/wp-statistics/wp-statistics.svg)](http://isitmaintained.com/project/wp-statistics/wp-statistics "Percentage of issues still open")
|
3 |
-
|
4 |
-
# WP Statistics
|
5 |
-
A free and advanced stats plugin for WordPress
|
6 |
-
|
7 |
-
A comprehensive plugin for your WordPress visitor statistics, come visit us at our website for all the latest news and information.
|
8 |
-
|
9 |
-
Track statistics for your WordPress site without depending on external services and uses arrogate data whenever possible to respect your users privacy.
|
10 |
-
|
11 |
-
On screen statistics presented as graphs are easily viewed through the WordPress admin interface.
|
12 |
-
|
13 |
-
This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com.
|
14 |
-
|
15 |
-
**Do you like this project? Support it by donating**
|
16 |
-
- ![Paypal](https://raw.githubusercontent.com/reek/anti-adblock-killer/gh-pages/images/paypal.png) Paypal: [Donate](https://wp-statistics.com/donate/)
|
17 |
-
- ![btc](https://camo.githubusercontent.com/4bc31b03fc4026aa2f14e09c25c09b81e06d5e71/687474703a2f2f7777772e6d6f6e747265616c626974636f696e2e636f6d2f696d672f66617669636f6e2e69636f) Bitcoin: 1vKe5vWbr18KitxFeFnBfjBWcFGBxTd2N
|
18 |
-
|
19 |
-
# Features
|
20 |
-
|
21 |
-
* Online users, visits, visitors and page statistics
|
22 |
-
* Search Engines, see search queries and redirects from popular search engines like Google, Bing, DuckDuckGo, Yahoo, Yandex and Baidu
|
23 |
-
* Overview and detail pages for all kinds of data, including; browser versions, country stats, hits, exclusions, referrers, searches, search words and visitors
|
24 |
-
* GeoIP location by Country
|
25 |
-
* Support for hashing IP addresses in the database to protect your users privacy
|
26 |
-
* Interactive map of visitors location
|
27 |
-
* E-mail reports of statistics
|
28 |
-
* Set access level for view and manage roles based on WordPress roles
|
29 |
-
* Exclude users from statistics collection based on various criteria, including; user roles, common robots, IP subnets, page URL, login page, RSS pages, admin pages, Country, number of visits per day, hostname
|
30 |
-
* Record statistics on exclusions
|
31 |
-
* Automatic updates to the GeoIP database
|
32 |
-
* Automatically prune the databases of old data
|
33 |
-
* Export the data to XML, CSV or TSV files
|
34 |
-
* Widget to provide information to your users
|
35 |
-
* Shortcodes for many different types of data in both widgets and posts/pages
|
36 |
-
* Dashboard widgets for the admin area
|
37 |
-
* Comprehensive Admin Manual
|
38 |
-
|
39 |
-
# Internationalization
|
40 |
-
WP Statistics has been translated in to many languages, for the current list and contributors, please visit the [translate page](https://translate.wordpress.org/projects/wp-plugins/wp-statistics).
|
41 |
-
|
42 |
-
Translations are done by people just like you, help make WP Statistics available to more people around the world and [do a translation](https://wp-statistics.com/translations/) today!
|
43 |
-
|
44 |
-
# Installation
|
45 |
-
1. Upload wp-statistics to the /wp-content/plugins/ directory.
|
46 |
-
2. Activate the plugin through the ‘Plugins’ menu in WordPress.
|
47 |
-
3. Make sure the Date and Time is set correctly in WordPress.
|
48 |
-
4. Go to the plugin settings page and configure as required (note this will also download the GeoIP database for the fist time).
|
49 |
-
|
50 |
-
# Function API
|
51 |
-
WP Statistics supports several functions for other plug-in and theme authors to use to retrieve statistics about the site. All of the external functions available in [this link](https://wp-statistics.com/2017/05/26/function-api/).
|
52 |
-
|
53 |
-
# Shortcodes
|
54 |
-
WP Statistics supports shortcodes in WordPress, these can be used in either a post and page body as well as an HTML widget. Description of shortcode available in [this link](https://wp-statistics.com/2017/05/26/shortcodes/)
|
55 |
-
|
56 |
-
# Community Links
|
57 |
-
* [WordPress plugin page](http://wordpress.org/plugins/wp-statistics/)
|
58 |
-
* [Plugin Website](https://wp-statistics.com)
|
59 |
-
* [Author Website](http://veronalabs.com)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/js/front.js
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
if (window.navigator && window.location.href) {
|
2 |
+
var WP_Statistics_http = new XMLHttpRequest();
|
3 |
+
WP_Statistics_http.open('GET', wps_statistics_object.rest_url + 'wpstatistics/v1/hit' + (wps_statistics_object.rest_url.includes("?") ? '&' : '?') + '_=' + Math.floor(Date.now() / 1000) + '&_wpnonce=' + wps_statistics_object.wpnonce + '&wp_statistics_hit_rest=yes&ua=' + navigator.userAgent + '&url=' + window.location.href + '&referred=' + document.referrer, true);
|
4 |
+
WP_Statistics_http.setRequestHeader("Content-Type", "application/json;charset=UTF-8");
|
5 |
+
WP_Statistics_http.send(null);
|
6 |
+
}
|
assets/js/front.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
"use strict";if(window.navigator&&window.location.href){var WP_Statistics_http=new XMLHttpRequest;WP_Statistics_http.open("GET",wps_statistics_object.rest_url+"wpstatistics/v1/hit"+(wps_statistics_object.rest_url.includes("?")?"&":"?")+"_="+Math.floor(Date.now()/1e3)+"&_wpnonce="+wps_statistics_object.wpnonce+"&wp_statistics_hit_rest=yes&ua="+navigator.userAgent+"&url="+window.location.href+"&referred="+document.referrer,!0),WP_Statistics_http.setRequestHeader("Content-Type","application/json;charset=UTF-8"),WP_Statistics_http.send(null)}
|
composer.json
DELETED
@@ -1,13 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"require": {
|
3 |
-
"php": ">=5.4",
|
4 |
-
"geoip2/geoip2": "^2.9.0",
|
5 |
-
"s1lentium/iptools": "^1.1.0",
|
6 |
-
"whichbrowser/parser": "2.0.37",
|
7 |
-
"jaybizzle/crawler-detect": "1.2.78",
|
8 |
-
"erusev/parsedown": "^1.6"
|
9 |
-
},
|
10 |
-
"config": {
|
11 |
-
"vendor-dir": "includes/vendor"
|
12 |
-
}
|
13 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
composer.lock
DELETED
@@ -1,481 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"_readme": [
|
3 |
-
"This file locks the dependencies of your project to a known state",
|
4 |
-
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
5 |
-
"This file is @generated automatically"
|
6 |
-
],
|
7 |
-
"content-hash": "6497ec3331bd44e9dbbb7e43066a0708",
|
8 |
-
"packages": [
|
9 |
-
{
|
10 |
-
"name": "composer/ca-bundle",
|
11 |
-
"version": "1.1.4",
|
12 |
-
"source": {
|
13 |
-
"type": "git",
|
14 |
-
"url": "https://github.com/composer/ca-bundle.git",
|
15 |
-
"reference": "558f321c52faeb4828c03e7dc0cfe39a09e09a2d"
|
16 |
-
},
|
17 |
-
"dist": {
|
18 |
-
"type": "zip",
|
19 |
-
"url": "https://api.github.com/repos/composer/ca-bundle/zipball/558f321c52faeb4828c03e7dc0cfe39a09e09a2d",
|
20 |
-
"reference": "558f321c52faeb4828c03e7dc0cfe39a09e09a2d",
|
21 |
-
"shasum": ""
|
22 |
-
},
|
23 |
-
"require": {
|
24 |
-
"ext-openssl": "*",
|
25 |
-
"ext-pcre": "*",
|
26 |
-
"php": "^5.3.2 || ^7.0"
|
27 |
-
},
|
28 |
-
"require-dev": {
|
29 |
-
"phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5",
|
30 |
-
"psr/log": "^1.0",
|
31 |
-
"symfony/process": "^2.5 || ^3.0 || ^4.0"
|
32 |
-
},
|
33 |
-
"type": "library",
|
34 |
-
"extra": {
|
35 |
-
"branch-alias": {
|
36 |
-
"dev-master": "1.x-dev"
|
37 |
-
}
|
38 |
-
},
|
39 |
-
"autoload": {
|
40 |
-
"psr-4": {
|
41 |
-
"Composer\\CaBundle\\": "src"
|
42 |
-
}
|
43 |
-
},
|
44 |
-
"notification-url": "https://packagist.org/downloads/",
|
45 |
-
"license": [
|
46 |
-
"MIT"
|
47 |
-
],
|
48 |
-
"authors": [
|
49 |
-
{
|
50 |
-
"name": "Jordi Boggiano",
|
51 |
-
"email": "j.boggiano@seld.be",
|
52 |
-
"homepage": "http://seld.be"
|
53 |
-
}
|
54 |
-
],
|
55 |
-
"description": "Lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle.",
|
56 |
-
"keywords": [
|
57 |
-
"cabundle",
|
58 |
-
"cacert",
|
59 |
-
"certificate",
|
60 |
-
"ssl",
|
61 |
-
"tls"
|
62 |
-
],
|
63 |
-
"time": "2019-01-28T09:30:10+00:00"
|
64 |
-
},
|
65 |
-
{
|
66 |
-
"name": "erusev/parsedown",
|
67 |
-
"version": "1.7.3",
|
68 |
-
"source": {
|
69 |
-
"type": "git",
|
70 |
-
"url": "https://github.com/erusev/parsedown.git",
|
71 |
-
"reference": "6d893938171a817f4e9bc9e86f2da1e370b7bcd7"
|
72 |
-
},
|
73 |
-
"dist": {
|
74 |
-
"type": "zip",
|
75 |
-
"url": "https://api.github.com/repos/erusev/parsedown/zipball/6d893938171a817f4e9bc9e86f2da1e370b7bcd7",
|
76 |
-
"reference": "6d893938171a817f4e9bc9e86f2da1e370b7bcd7",
|
77 |
-
"shasum": ""
|
78 |
-
},
|
79 |
-
"require": {
|
80 |
-
"ext-mbstring": "*",
|
81 |
-
"php": ">=5.3.0"
|
82 |
-
},
|
83 |
-
"require-dev": {
|
84 |
-
"phpunit/phpunit": "^4.8.35"
|
85 |
-
},
|
86 |
-
"type": "library",
|
87 |
-
"autoload": {
|
88 |
-
"psr-0": {
|
89 |
-
"Parsedown": ""
|
90 |
-
}
|
91 |
-
},
|
92 |
-
"notification-url": "https://packagist.org/downloads/",
|
93 |
-
"license": [
|
94 |
-
"MIT"
|
95 |
-
],
|
96 |
-
"authors": [
|
97 |
-
{
|
98 |
-
"name": "Emanuil Rusev",
|
99 |
-
"email": "hello@erusev.com",
|
100 |
-
"homepage": "http://erusev.com"
|
101 |
-
}
|
102 |
-
],
|
103 |
-
"description": "Parser for Markdown.",
|
104 |
-
"homepage": "http://parsedown.org",
|
105 |
-
"keywords": [
|
106 |
-
"markdown",
|
107 |
-
"parser"
|
108 |
-
],
|
109 |
-
"time": "2019-03-17T18:48:37+00:00"
|
110 |
-
},
|
111 |
-
{
|
112 |
-
"name": "geoip2/geoip2",
|
113 |
-
"version": "v2.9.0",
|
114 |
-
"source": {
|
115 |
-
"type": "git",
|
116 |
-
"url": "https://github.com/maxmind/GeoIP2-php.git",
|
117 |
-
"reference": "a807fbf65212eef5d8d2db1a1b31082b53633d77"
|
118 |
-
},
|
119 |
-
"dist": {
|
120 |
-
"type": "zip",
|
121 |
-
"url": "https://api.github.com/repos/maxmind/GeoIP2-php/zipball/a807fbf65212eef5d8d2db1a1b31082b53633d77",
|
122 |
-
"reference": "a807fbf65212eef5d8d2db1a1b31082b53633d77",
|
123 |
-
"shasum": ""
|
124 |
-
},
|
125 |
-
"require": {
|
126 |
-
"maxmind-db/reader": "~1.0",
|
127 |
-
"maxmind/web-service-common": "~0.5",
|
128 |
-
"php": ">=5.4"
|
129 |
-
},
|
130 |
-
"require-dev": {
|
131 |
-
"friendsofphp/php-cs-fixer": "2.*",
|
132 |
-
"phpunit/phpunit": "4.*",
|
133 |
-
"squizlabs/php_codesniffer": "3.*"
|
134 |
-
},
|
135 |
-
"type": "library",
|
136 |
-
"autoload": {
|
137 |
-
"psr-4": {
|
138 |
-
"GeoIp2\\": "src"
|
139 |
-
}
|
140 |
-
},
|
141 |
-
"notification-url": "https://packagist.org/downloads/",
|
142 |
-
"license": [
|
143 |
-
"Apache-2.0"
|
144 |
-
],
|
145 |
-
"authors": [
|
146 |
-
{
|
147 |
-
"name": "Gregory J. Oschwald",
|
148 |
-
"email": "goschwald@maxmind.com",
|
149 |
-
"homepage": "http://www.maxmind.com/"
|
150 |
-
}
|
151 |
-
],
|
152 |
-
"description": "MaxMind GeoIP2 PHP API",
|
153 |
-
"homepage": "https://github.com/maxmind/GeoIP2-php",
|
154 |
-
"keywords": [
|
155 |
-
"IP",
|
156 |
-
"geoip",
|
157 |
-
"geoip2",
|
158 |
-
"geolocation",
|
159 |
-
"maxmind"
|
160 |
-
],
|
161 |
-
"time": "2018-04-10T15:32:59+00:00"
|
162 |
-
},
|
163 |
-
{
|
164 |
-
"name": "jaybizzle/crawler-detect",
|
165 |
-
"version": "v1.2.78",
|
166 |
-
"source": {
|
167 |
-
"type": "git",
|
168 |
-
"url": "https://github.com/JayBizzle/Crawler-Detect.git",
|
169 |
-
"reference": "0f91f34d375ddd5d7034b9eaf6b74acd0b2a0ed6"
|
170 |
-
},
|
171 |
-
"dist": {
|
172 |
-
"type": "zip",
|
173 |
-
"url": "https://api.github.com/repos/JayBizzle/Crawler-Detect/zipball/0f91f34d375ddd5d7034b9eaf6b74acd0b2a0ed6",
|
174 |
-
"reference": "0f91f34d375ddd5d7034b9eaf6b74acd0b2a0ed6",
|
175 |
-
"shasum": ""
|
176 |
-
},
|
177 |
-
"require": {
|
178 |
-
"php": ">=5.3.0"
|
179 |
-
},
|
180 |
-
"require-dev": {
|
181 |
-
"phpunit/phpunit": "^4.8|^5.5|^6.5",
|
182 |
-
"satooshi/php-coveralls": "1.*"
|
183 |
-
},
|
184 |
-
"type": "library",
|
185 |
-
"autoload": {
|
186 |
-
"psr-4": {
|
187 |
-
"Jaybizzle\\CrawlerDetect\\": "src/"
|
188 |
-
}
|
189 |
-
},
|
190 |
-
"notification-url": "https://packagist.org/downloads/",
|
191 |
-
"license": [
|
192 |
-
"MIT"
|
193 |
-
],
|
194 |
-
"authors": [
|
195 |
-
{
|
196 |
-
"name": "Mark Beech",
|
197 |
-
"email": "m@rkbee.ch",
|
198 |
-
"role": "Developer"
|
199 |
-
}
|
200 |
-
],
|
201 |
-
"description": "CrawlerDetect is a PHP class for detecting bots/crawlers/spiders via the user agent",
|
202 |
-
"homepage": "https://github.com/JayBizzle/Crawler-Detect/",
|
203 |
-
"keywords": [
|
204 |
-
"crawler",
|
205 |
-
"crawler detect",
|
206 |
-
"crawler detector",
|
207 |
-
"crawlerdetect",
|
208 |
-
"php crawler detect"
|
209 |
-
],
|
210 |
-
"time": "2019-01-15T21:21:27+00:00"
|
211 |
-
},
|
212 |
-
{
|
213 |
-
"name": "maxmind-db/reader",
|
214 |
-
"version": "v1.4.1",
|
215 |
-
"source": {
|
216 |
-
"type": "git",
|
217 |
-
"url": "https://github.com/maxmind/MaxMind-DB-Reader-php.git",
|
218 |
-
"reference": "eb83d0ee1c1f9b8a340206302136bc81ee02ae74"
|
219 |
-
},
|
220 |
-
"dist": {
|
221 |
-
"type": "zip",
|
222 |
-
"url": "https://api.github.com/repos/maxmind/MaxMind-DB-Reader-php/zipball/eb83d0ee1c1f9b8a340206302136bc81ee02ae74",
|
223 |
-
"reference": "eb83d0ee1c1f9b8a340206302136bc81ee02ae74",
|
224 |
-
"shasum": ""
|
225 |
-
},
|
226 |
-
"require": {
|
227 |
-
"php": ">=5.4"
|
228 |
-
},
|
229 |
-
"require-dev": {
|
230 |
-
"friendsofphp/php-cs-fixer": "2.*",
|
231 |
-
"phpunit/phpunit": "4.* || 5.*",
|
232 |
-
"satooshi/php-coveralls": "1.0.*",
|
233 |
-
"squizlabs/php_codesniffer": "3.*"
|
234 |
-
},
|
235 |
-
"suggest": {
|
236 |
-
"ext-bcmath": "bcmath or gmp is required for decoding larger integers with the pure PHP decoder",
|
237 |
-
"ext-gmp": "bcmath or gmp is required for decoding larger integers with the pure PHP decoder",
|
238 |
-
"ext-maxminddb": "A C-based database decoder that provides significantly faster lookups"
|
239 |
-
},
|
240 |
-
"type": "library",
|
241 |
-
"autoload": {
|
242 |
-
"psr-4": {
|
243 |
-
"MaxMind\\Db\\": "src/MaxMind/Db"
|
244 |
-
}
|
245 |
-
},
|
246 |
-
"notification-url": "https://packagist.org/downloads/",
|
247 |
-
"license": [
|
248 |
-
"Apache-2.0"
|
249 |
-
],
|
250 |
-
"authors": [
|
251 |
-
{
|
252 |
-
"name": "Gregory J. Oschwald",
|
253 |
-
"email": "goschwald@maxmind.com",
|
254 |
-
"homepage": "http://www.maxmind.com/"
|
255 |
-
}
|
256 |
-
],
|
257 |
-
"description": "MaxMind DB Reader API",
|
258 |
-
"homepage": "https://github.com/maxmind/MaxMind-DB-Reader-php",
|
259 |
-
"keywords": [
|
260 |
-
"database",
|
261 |
-
"geoip",
|
262 |
-
"geoip2",
|
263 |
-
"geolocation",
|
264 |
-
"maxmind"
|
265 |
-
],
|
266 |
-
"time": "2019-01-04T19:55:56+00:00"
|
267 |
-
},
|
268 |
-
{
|
269 |
-
"name": "maxmind/web-service-common",
|
270 |
-
"version": "v0.5.0",
|
271 |
-
"source": {
|
272 |
-
"type": "git",
|
273 |
-
"url": "https://github.com/maxmind/web-service-common-php.git",
|
274 |
-
"reference": "61a9836fa3bb1743ab89752bae5005d71e78c73b"
|
275 |
-
},
|
276 |
-
"dist": {
|
277 |
-
"type": "zip",
|
278 |
-
"url": "https://api.github.com/repos/maxmind/web-service-common-php/zipball/61a9836fa3bb1743ab89752bae5005d71e78c73b",
|
279 |
-
"reference": "61a9836fa3bb1743ab89752bae5005d71e78c73b",
|
280 |
-
"shasum": ""
|
281 |
-
},
|
282 |
-
"require": {
|
283 |
-
"composer/ca-bundle": "^1.0.3",
|
284 |
-
"ext-curl": "*",
|
285 |
-
"ext-json": "*",
|
286 |
-
"php": ">=5.4"
|
287 |
-
},
|
288 |
-
"require-dev": {
|
289 |
-
"friendsofphp/php-cs-fixer": "2.*",
|
290 |
-
"phpunit/phpunit": "4.*",
|
291 |
-
"squizlabs/php_codesniffer": "3.*"
|
292 |
-
},
|
293 |
-
"type": "library",
|
294 |
-
"autoload": {
|
295 |
-
"psr-4": {
|
296 |
-
"MaxMind\\Exception\\": "src/Exception",
|
297 |
-
"MaxMind\\WebService\\": "src/WebService"
|
298 |
-
}
|
299 |
-
},
|
300 |
-
"notification-url": "https://packagist.org/downloads/",
|
301 |
-
"license": [
|
302 |
-
"Apache-2.0"
|
303 |
-
],
|
304 |
-
"authors": [
|
305 |
-
{
|
306 |
-
"name": "Gregory Oschwald",
|
307 |
-
"email": "goschwald@maxmind.com"
|
308 |
-
}
|
309 |
-
],
|
310 |
-
"description": "Internal MaxMind Web Service API",
|
311 |
-
"homepage": "https://github.com/maxmind/web-service-common-php",
|
312 |
-
"time": "2018-02-12T22:31:54+00:00"
|
313 |
-
},
|
314 |
-
{
|
315 |
-
"name": "psr/cache",
|
316 |
-
"version": "1.0.1",
|
317 |
-
"source": {
|
318 |
-
"type": "git",
|
319 |
-
"url": "https://github.com/php-fig/cache.git",
|
320 |
-
"reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
|
321 |
-
},
|
322 |
-
"dist": {
|
323 |
-
"type": "zip",
|
324 |
-
"url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
|
325 |
-
"reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
|
326 |
-
"shasum": ""
|
327 |
-
},
|
328 |
-
"require": {
|
329 |
-
"php": ">=5.3.0"
|
330 |
-
},
|
331 |
-
"type": "library",
|
332 |
-
"extra": {
|
333 |
-
"branch-alias": {
|
334 |
-
"dev-master": "1.0.x-dev"
|
335 |
-
}
|
336 |
-
},
|
337 |
-
"autoload": {
|
338 |
-
"psr-4": {
|
339 |
-
"Psr\\Cache\\": "src/"
|
340 |
-
}
|
341 |
-
},
|
342 |
-
"notification-url": "https://packagist.org/downloads/",
|
343 |
-
"license": [
|
344 |
-
"MIT"
|
345 |
-
],
|
346 |
-
"authors": [
|
347 |
-
{
|
348 |
-
"name": "PHP-FIG",
|
349 |
-
"homepage": "http://www.php-fig.org/"
|
350 |
-
}
|
351 |
-
],
|
352 |
-
"description": "Common interface for caching libraries",
|
353 |
-
"keywords": [
|
354 |
-
"cache",
|
355 |
-
"psr",
|
356 |
-
"psr-6"
|
357 |
-
],
|
358 |
-
"time": "2016-08-06T20:24:11+00:00"
|
359 |
-
},
|
360 |
-
{
|
361 |
-
"name": "s1lentium/iptools",
|
362 |
-
"version": "v1.1.1",
|
363 |
-
"source": {
|
364 |
-
"type": "git",
|
365 |
-
"url": "https://github.com/S1lentium/IPTools.git",
|
366 |
-
"reference": "f6f8ab6132ca7443bd7cced1681f5066d725fd5f"
|
367 |
-
},
|
368 |
-
"dist": {
|
369 |
-
"type": "zip",
|
370 |
-
"url": "https://api.github.com/repos/S1lentium/IPTools/zipball/f6f8ab6132ca7443bd7cced1681f5066d725fd5f",
|
371 |
-
"reference": "f6f8ab6132ca7443bd7cced1681f5066d725fd5f",
|
372 |
-
"shasum": ""
|
373 |
-
},
|
374 |
-
"require": {
|
375 |
-
"ext-bcmath": "*",
|
376 |
-
"php": ">=5.4.0"
|
377 |
-
},
|
378 |
-
"require-dev": {
|
379 |
-
"phpunit/phpunit": "~4.0",
|
380 |
-
"satooshi/php-coveralls": "~1.0"
|
381 |
-
},
|
382 |
-
"type": "library",
|
383 |
-
"autoload": {
|
384 |
-
"psr-4": {
|
385 |
-
"IPTools\\": "src/"
|
386 |
-
}
|
387 |
-
},
|
388 |
-
"notification-url": "https://packagist.org/downloads/",
|
389 |
-
"license": [
|
390 |
-
"MIT"
|
391 |
-
],
|
392 |
-
"authors": [
|
393 |
-
{
|
394 |
-
"name": "Safarov Alisher",
|
395 |
-
"email": "alisher.safarov@outlook.com",
|
396 |
-
"homepage": "https://github.com/S1lentium"
|
397 |
-
}
|
398 |
-
],
|
399 |
-
"description": "PHP Library for manipulating network addresses (IPv4 and IPv6)",
|
400 |
-
"keywords": [
|
401 |
-
"IP",
|
402 |
-
"IP-Tools",
|
403 |
-
"cidr",
|
404 |
-
"ipv4",
|
405 |
-
"ipv6",
|
406 |
-
"network",
|
407 |
-
"subnet"
|
408 |
-
],
|
409 |
-
"time": "2018-09-19T06:15:53+00:00"
|
410 |
-
},
|
411 |
-
{
|
412 |
-
"name": "whichbrowser/parser",
|
413 |
-
"version": "v2.0.37",
|
414 |
-
"source": {
|
415 |
-
"type": "git",
|
416 |
-
"url": "https://github.com/WhichBrowser/Parser-PHP.git",
|
417 |
-
"reference": "9c6ad8eadc23294b1c66d92876c11f13c5d4cf48"
|
418 |
-
},
|
419 |
-
"dist": {
|
420 |
-
"type": "zip",
|
421 |
-
"url": "https://api.github.com/repos/WhichBrowser/Parser-PHP/zipball/9c6ad8eadc23294b1c66d92876c11f13c5d4cf48",
|
422 |
-
"reference": "9c6ad8eadc23294b1c66d92876c11f13c5d4cf48",
|
423 |
-
"shasum": ""
|
424 |
-
},
|
425 |
-
"require": {
|
426 |
-
"php": ">=5.4.0",
|
427 |
-
"psr/cache": "^1.0"
|
428 |
-
},
|
429 |
-
"require-dev": {
|
430 |
-
"icomefromthenet/reverse-regex": "0.0.6.3",
|
431 |
-
"phpunit/php-code-coverage": "^2.2|^3.0",
|
432 |
-
"phpunit/phpunit": "^4.0|^5.0",
|
433 |
-
"satooshi/php-coveralls": "^1.0",
|
434 |
-
"squizlabs/php_codesniffer": "2.5.*",
|
435 |
-
"symfony/yaml": ">=2.8"
|
436 |
-
},
|
437 |
-
"suggest": {
|
438 |
-
"cache/array-adapter": "Allows testing of the caching functionality"
|
439 |
-
},
|
440 |
-
"type": "library",
|
441 |
-
"autoload": {
|
442 |
-
"psr-4": {
|
443 |
-
"WhichBrowser\\": [
|
444 |
-
"src/",
|
445 |
-
"tests/src/"
|
446 |
-
]
|
447 |
-
}
|
448 |
-
},
|
449 |
-
"notification-url": "https://packagist.org/downloads/",
|
450 |
-
"license": [
|
451 |
-
"MIT"
|
452 |
-
],
|
453 |
-
"authors": [
|
454 |
-
{
|
455 |
-
"name": "Niels Leenheer",
|
456 |
-
"email": "niels@leenheer.nl",
|
457 |
-
"role": "Developer"
|
458 |
-
}
|
459 |
-
],
|
460 |
-
"description": "Useragent sniffing library for PHP",
|
461 |
-
"homepage": "http://whichbrowser.net",
|
462 |
-
"keywords": [
|
463 |
-
"browser",
|
464 |
-
"sniffing",
|
465 |
-
"ua",
|
466 |
-
"useragent"
|
467 |
-
],
|
468 |
-
"time": "2018-10-02T09:26:41+00:00"
|
469 |
-
}
|
470 |
-
],
|
471 |
-
"packages-dev": [],
|
472 |
-
"aliases": [],
|
473 |
-
"minimum-stability": "stable",
|
474 |
-
"stability-flags": [],
|
475 |
-
"prefer-stable": false,
|
476 |
-
"prefer-lowest": false,
|
477 |
-
"platform": {
|
478 |
-
"php": ">=5.4"
|
479 |
-
},
|
480 |
-
"platform-dev": []
|
481 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/classes/class-wp-statistics-admin.php
CHANGED
@@ -323,7 +323,7 @@ class WP_Statistics_Admin {
|
|
323 |
|
324 |
$set_transient = true;
|
325 |
$alert = '<div class="notice notice-warning is-dismissible"><p>' . sprintf( __( 'Here is an error associated with Connecting WordPress Rest API, Please Flushing rewrite rules or activate wp rest api for performance WP-Statistics Plugin Cache / Go %1$sSettings->Permalinks%2$s', 'wp-statistics' ), '<a href="' . esc_url( admin_url( 'options-permalink.php' ) ) . '">', '</a>' ) . '</div>';
|
326 |
-
$request = wp_remote_get(
|
327 |
'body' => array( 'rest-api-wp-statistics' => 'wp-statistics' )
|
328 |
) );
|
329 |
if ( is_wp_error( $request ) ) {
|
323 |
|
324 |
$set_transient = true;
|
325 |
$alert = '<div class="notice notice-warning is-dismissible"><p>' . sprintf( __( 'Here is an error associated with Connecting WordPress Rest API, Please Flushing rewrite rules or activate wp rest api for performance WP-Statistics Plugin Cache / Go %1$sSettings->Permalinks%2$s', 'wp-statistics' ), '<a href="' . esc_url( admin_url( 'options-permalink.php' ) ) . '">', '</a>' ) . '</div>';
|
326 |
+
$request = wp_remote_get( get_rest_url( null, WP_Statistics_Rest::route . '/' . 'connection' ), array(
|
327 |
'body' => array( 'rest-api-wp-statistics' => 'wp-statistics' )
|
328 |
) );
|
329 |
if ( is_wp_error( $request ) ) {
|
includes/classes/class-wp-statistics-frontend.php
CHANGED
@@ -20,13 +20,8 @@ class WP_Statistics_Frontend {
|
|
20 |
//Get Visitor information and Save To Database
|
21 |
add_action( 'wp', array( $this, 'init' ) );
|
22 |
|
23 |
-
//Add inline Rest Request
|
24 |
-
add_action( 'wp_head', array( $this, 'add_inline_rest_js' ) );
|
25 |
-
|
26 |
//Add Html Comment in head
|
27 |
-
|
28 |
-
add_action( 'wp_head', array( $this, 'html_comment' ) );
|
29 |
-
}
|
30 |
|
31 |
// Check to show hits in posts/pages
|
32 |
if ( $WP_Statistics->get_option( 'show_hits' ) ) {
|
@@ -56,34 +51,20 @@ class WP_Statistics_Frontend {
|
|
56 |
* Enqueue Scripts
|
57 |
*/
|
58 |
public function enqueue_scripts() {
|
59 |
-
|
60 |
// Load our CSS to be used.
|
61 |
if ( is_admin_bar_showing() ) {
|
62 |
wp_enqueue_style( 'wpstatistics-css', WP_Statistics::$reg['plugin-url'] . 'assets/css/frontend.css', true, WP_Statistics::$reg['version'] );
|
63 |
}
|
64 |
-
}
|
65 |
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
$this->html_comment();
|
76 |
-
|
77 |
-
// Prepare Params
|
78 |
-
$params = array_merge( array(
|
79 |
-
'_' => time(),
|
80 |
-
'_wpnonce' => wp_create_nonce( 'wp_rest' ),
|
81 |
-
WP_Statistics_Rest::_Argument => 'yes',
|
82 |
-
), self::set_default_params() );
|
83 |
-
|
84 |
-
// Return to Page
|
85 |
-
echo '<script>var WP_Statistics_http = new XMLHttpRequest();WP_Statistics_http.open(\'GET\', \'' . add_query_arg( $params, path_join( get_rest_url(), WP_Statistics_Rest::route . '/' . WP_Statistics_Rest::func ) ) . '\', true);WP_Statistics_http.setRequestHeader("Content-Type", "application/json;charset=UTF-8");WP_Statistics_http.send(null);</script>' . "\n";
|
86 |
-
}
|
87 |
}
|
88 |
|
89 |
/*
|
20 |
//Get Visitor information and Save To Database
|
21 |
add_action( 'wp', array( $this, 'init' ) );
|
22 |
|
|
|
|
|
|
|
23 |
//Add Html Comment in head
|
24 |
+
add_action( 'wp_head', array( $this, 'html_comment' ) );
|
|
|
|
|
25 |
|
26 |
// Check to show hits in posts/pages
|
27 |
if ( $WP_Statistics->get_option( 'show_hits' ) ) {
|
51 |
* Enqueue Scripts
|
52 |
*/
|
53 |
public function enqueue_scripts() {
|
|
|
54 |
// Load our CSS to be used.
|
55 |
if ( is_admin_bar_showing() ) {
|
56 |
wp_enqueue_style( 'wpstatistics-css', WP_Statistics::$reg['plugin-url'] . 'assets/css/frontend.css', true, WP_Statistics::$reg['version'] );
|
57 |
}
|
|
|
58 |
|
59 |
+
global $WP_Statistics;
|
60 |
+
if ( $WP_Statistics->use_cache ) {
|
61 |
+
wp_enqueue_script( 'wp-statistics-js', WP_Statistics::$reg['plugin-url'] . 'assets/js/front.min.js', true, WP_Statistics::$reg['version'] );
|
62 |
+
wp_localize_script( 'wp-statistics-js', 'wps_statistics_object',
|
63 |
+
array(
|
64 |
+
'rest_url' => get_rest_url(),
|
65 |
+
'wpnonce' => wp_create_nonce( 'wp_rest' )
|
66 |
+
));
|
67 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
}
|
69 |
|
70 |
/*
|
includes/classes/class-wp-statistics-hits.php
CHANGED
@@ -31,7 +31,7 @@ class WP_Statistics_Hits {
|
|
31 |
// Set the timestamp value.
|
32 |
$this->timestamp = $WP_Statistics->current_date( 'U' );
|
33 |
if ( WP_Statistics_Rest::is_rest() ) {
|
34 |
-
$this->timestamp = WP_Statistics_Rest::params( '
|
35 |
}
|
36 |
|
37 |
// Check to see if the user wants us to record why we're excluding hits.
|
@@ -416,10 +416,8 @@ class WP_Statistics_Hits {
|
|
416 |
$this->current_page_id = $get_page_type['id'];
|
417 |
$this->current_page_type = $get_page_type['type'];
|
418 |
}
|
419 |
-
|
420 |
}
|
421 |
|
422 |
-
|
423 |
// This function records unique visitors to the site.
|
424 |
public function Visitors() {
|
425 |
global $wpdb, $WP_Statistics;
|
@@ -772,14 +770,8 @@ class WP_Statistics_Hits {
|
|
772 |
$user_id = 0;
|
773 |
|
774 |
//if Rest Request
|
775 |
-
if (
|
776 |
-
|
777 |
-
$user_id = WP_Statistics_Rest::params( 'user_id' );
|
778 |
-
}
|
779 |
-
} else {
|
780 |
-
if ( is_user_logged_in() ) {
|
781 |
-
return get_current_user_id();
|
782 |
-
}
|
783 |
}
|
784 |
|
785 |
return $user_id;
|
31 |
// Set the timestamp value.
|
32 |
$this->timestamp = $WP_Statistics->current_date( 'U' );
|
33 |
if ( WP_Statistics_Rest::is_rest() ) {
|
34 |
+
$this->timestamp = WP_Statistics_Rest::params( '_' );
|
35 |
}
|
36 |
|
37 |
// Check to see if the user wants us to record why we're excluding hits.
|
416 |
$this->current_page_id = $get_page_type['id'];
|
417 |
$this->current_page_type = $get_page_type['type'];
|
418 |
}
|
|
|
419 |
}
|
420 |
|
|
|
421 |
// This function records unique visitors to the site.
|
422 |
public function Visitors() {
|
423 |
global $wpdb, $WP_Statistics;
|
770 |
$user_id = 0;
|
771 |
|
772 |
//if Rest Request
|
773 |
+
if ( is_user_logged_in() ) {
|
774 |
+
return get_current_user_id();
|
|
|
|
|
|
|
|
|
|
|
|
|
775 |
}
|
776 |
|
777 |
return $user_id;
|
includes/classes/class-wp-statistics-rest.php
CHANGED
@@ -35,14 +35,8 @@ class WP_Statistics_Rest {
|
|
35 |
*/
|
36 |
public static function require_params_hit() {
|
37 |
return array(
|
38 |
-
'
|
39 |
-
'
|
40 |
-
'version',
|
41 |
-
'ip',
|
42 |
-
'track_all',
|
43 |
-
'timestamp',
|
44 |
-
'page_uri',
|
45 |
-
'user_id',
|
46 |
);
|
47 |
}
|
48 |
|
@@ -73,26 +67,128 @@ class WP_Statistics_Rest {
|
|
73 |
}
|
74 |
) ), $params )
|
75 |
) );
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
}
|
77 |
|
78 |
-
|
79 |
-
*
|
|
|
80 |
*/
|
81 |
-
public function
|
82 |
-
global $WP_Statistics;
|
83 |
-
|
84 |
-
/*
|
85 |
-
* Check Is Test Service Request
|
86 |
-
*/
|
87 |
if ( isset( $_REQUEST['rest-api-wp-statistics'] ) ) {
|
88 |
return array( "rest-api-wp-statistics" => "OK" );
|
89 |
}
|
90 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
// Check Isset global
|
92 |
if ( ! is_object( $WP_Statistics ) ) {
|
93 |
return;
|
94 |
}
|
95 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
$h = new WP_Statistics_GEO_IP_Hits;
|
97 |
|
98 |
// Call the online users tracking code.
|
@@ -141,7 +237,7 @@ class WP_Statistics_Rest {
|
|
141 |
if ( defined( 'REST_REQUEST' ) && REST_REQUEST and isset( $_REQUEST[ self::_Argument ] ) ) {
|
142 |
$data = array();
|
143 |
foreach ( $_REQUEST as $key => $value ) {
|
144 |
-
if ( ! in_array( $key, array( '
|
145 |
$data[ $key ] = trim( $value );
|
146 |
}
|
147 |
}
|
35 |
*/
|
36 |
public static function require_params_hit() {
|
37 |
return array(
|
38 |
+
'ua',
|
39 |
+
'url',
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
);
|
41 |
}
|
42 |
|
67 |
}
|
68 |
) ), $params )
|
69 |
) );
|
70 |
+
|
71 |
+
// Test REST API WordPress is activate
|
72 |
+
register_rest_route( self::route, '/connection', array(
|
73 |
+
'methods' => \WP_REST_Server::READABLE,
|
74 |
+
'callback' => array( $this, 'connection' )
|
75 |
+
) );
|
76 |
}
|
77 |
|
78 |
+
/**
|
79 |
+
* Check Is Test Service Request
|
80 |
+
* @return array|null
|
81 |
*/
|
82 |
+
public function connection() {
|
|
|
|
|
|
|
|
|
|
|
83 |
if ( isset( $_REQUEST['rest-api-wp-statistics'] ) ) {
|
84 |
return array( "rest-api-wp-statistics" => "OK" );
|
85 |
}
|
86 |
|
87 |
+
return null;
|
88 |
+
}
|
89 |
+
|
90 |
+
/*
|
91 |
+
* Wp Statistic Hit Save
|
92 |
+
*/
|
93 |
+
public function hit( \WP_REST_Request $request ) {
|
94 |
+
global $WP_Statistics;
|
95 |
+
|
96 |
// Check Isset global
|
97 |
if ( ! is_object( $WP_Statistics ) ) {
|
98 |
return;
|
99 |
}
|
100 |
|
101 |
+
// Get Params
|
102 |
+
$url = $request->get_param( 'url' );
|
103 |
+
$user_agent = $request->get_param( 'ua' );
|
104 |
+
if ( empty( $url ) || empty( $user_agent ) ) {
|
105 |
+
return;
|
106 |
+
}
|
107 |
+
|
108 |
+
// Check User Agent
|
109 |
+
$result = new WhichBrowser\Parser( $user_agent );
|
110 |
+
$agent = array(
|
111 |
+
'browser' => ( isset( $result->browser->name ) ) ? $result->browser->name : _x( 'Unknown', 'Browser', 'wp-statistics' ),
|
112 |
+
'platform' => ( isset( $result->os->name ) ) ? $result->os->name : _x( 'Unknown', 'Platform', 'wp-statistics' ),
|
113 |
+
'version' => ( isset( $result->os->version->value ) ) ? $result->os->version->value : _x( 'Unknown', 'Version', 'wp-statistics' ),
|
114 |
+
);
|
115 |
+
$_REQUEST['browser'] = $agent['browser'];
|
116 |
+
$_REQUEST['platform'] = $agent['platform'];
|
117 |
+
$_REQUEST['version'] = $agent['version'];
|
118 |
+
|
119 |
+
// Convert Url To WordPress ID
|
120 |
+
$page_id = url_to_postid( $url );
|
121 |
+
$_REQUEST['track_all'] = ( WP_Statistics_Hits::is_track_page() === true ? 1 : 0 );
|
122 |
+
$_REQUEST['page_uri'] = str_ireplace( get_home_url(), '', $url );
|
123 |
+
$_REQUEST['search_query'] = '';
|
124 |
+
if ( $page_id != false ) {
|
125 |
+
$_REQUEST['current_page_id'] = $page_id;
|
126 |
+
$get_post_type = get_post_type( $page_id );
|
127 |
+
switch ( $get_post_type ) {
|
128 |
+
case "product":
|
129 |
+
$_REQUEST['current_page_type'] = 'product';
|
130 |
+
break;
|
131 |
+
case "page":
|
132 |
+
$_REQUEST['current_page_type'] = 'page';
|
133 |
+
break;
|
134 |
+
default:
|
135 |
+
$_REQUEST['current_page_type'] = 'post';
|
136 |
+
}
|
137 |
+
}
|
138 |
+
|
139 |
+
// Check If is a search Query
|
140 |
+
$parse = parse_url( $url );
|
141 |
+
if ( isset( $parse['query'] ) and ! empty( $parse['query'] ) ) {
|
142 |
+
parse_str( $parse['query'], $params_arr );
|
143 |
+
if ( isset( $params_arr['s'] ) and ! empty( $params_arr['s'] ) ) {
|
144 |
+
$_REQUEST['current_page_type'] = 'search';
|
145 |
+
$_REQUEST['current_page_id'] = 0;
|
146 |
+
$_REQUEST['search_query'] = esc_html( $params_arr['s'] );
|
147 |
+
}
|
148 |
+
}
|
149 |
+
|
150 |
+
// Check If Home Page
|
151 |
+
if ( rtrim( $url, "/" ) == get_home_url() ) {
|
152 |
+
$_REQUEST['current_page_type'] = 'home';
|
153 |
+
$_REQUEST['current_page_id'] = 0;
|
154 |
+
}
|
155 |
+
|
156 |
+
// Convert Category Url to ID
|
157 |
+
$cat_base = 'category';
|
158 |
+
$category_option = get_option( 'category_base' );
|
159 |
+
if ( ! empty( $category_option ) ) {
|
160 |
+
$cat_base = $category_option;
|
161 |
+
}
|
162 |
+
$sanitize_category_url = str_ireplace( rtrim( get_home_url(), "/" ) . "/" . ltrim( $cat_base, "/" ), '', $url );
|
163 |
+
$cat = get_category_by_path( $sanitize_category_url );
|
164 |
+
if ( is_object( $cat ) and $cat != false ) {
|
165 |
+
$_REQUEST['current_page_type'] = 'category';
|
166 |
+
$_REQUEST['current_page_id'] = $cat->term_id;
|
167 |
+
}
|
168 |
+
|
169 |
+
// Convert Post Tag Url TO ID
|
170 |
+
$tag_base = 'tag';
|
171 |
+
$tag_option = get_option( 'tag_base' );
|
172 |
+
if ( ! empty( $tag_option ) ) {
|
173 |
+
$tag_base = $tag_option;
|
174 |
+
}
|
175 |
+
$sanitize_tag_url = str_ireplace( rtrim( get_home_url(), "/" ) . "/" . ltrim( $tag_base, "/" ), '', $url );
|
176 |
+
$sanitize_tag_url = rawurlencode( urldecode( $sanitize_tag_url ) );
|
177 |
+
$sanitize_tag_url = str_replace( '%2F', '/', $sanitize_tag_url );
|
178 |
+
$sanitize_tag_url = str_replace( '%20', ' ', $sanitize_tag_url );
|
179 |
+
$sanitize_tag_url = trim( $sanitize_tag_url, '/' );
|
180 |
+
$post_tag = get_term_by( 'slug', $sanitize_tag_url, 'post_tag' );
|
181 |
+
if ( is_object( $post_tag ) and $post_tag != false ) {
|
182 |
+
$_REQUEST['current_page_type'] = 'post_tag';
|
183 |
+
$_REQUEST['current_page_id'] = $post_tag->term_id;
|
184 |
+
}
|
185 |
+
|
186 |
+
// Fix Self referral Url
|
187 |
+
$referral = $request->get_param( 'referred' );
|
188 |
+
if ( empty( $referral ) ) {
|
189 |
+
$_REQUEST['referred'] = get_home_url();
|
190 |
+
}
|
191 |
+
|
192 |
$h = new WP_Statistics_GEO_IP_Hits;
|
193 |
|
194 |
// Call the online users tracking code.
|
237 |
if ( defined( 'REST_REQUEST' ) && REST_REQUEST and isset( $_REQUEST[ self::_Argument ] ) ) {
|
238 |
$data = array();
|
239 |
foreach ( $_REQUEST as $key => $value ) {
|
240 |
+
if ( ! in_array( $key, array( '_wpnonce' ) ) ) {
|
241 |
$data[ $key ] = trim( $value );
|
242 |
}
|
243 |
}
|
includes/classes/class-wp-statistics-uninstall.php
CHANGED
@@ -53,6 +53,6 @@ class WP_Statistics_Uninstall {
|
|
53 |
$wpdb->query( "DELETE FROM {$wpdb->prefix}usermeta WHERE meta_key LIKE 'wp_statistics%'" );
|
54 |
|
55 |
// Drop the tables
|
56 |
-
$wpdb->query( "DROP TABLE IF EXISTS {$wpdb->prefix}statistics_useronline, {$wpdb->prefix}statistics_visit, {$wpdb->prefix}statistics_visitor, {$wpdb->prefix}statistics_exclusions, {$wpdb->prefix}statistics_pages, {$wpdb->prefix}statistics_historical, {$wpdb->prefix}statistics_search" );
|
57 |
}
|
58 |
}
|
53 |
$wpdb->query( "DELETE FROM {$wpdb->prefix}usermeta WHERE meta_key LIKE 'wp_statistics%'" );
|
54 |
|
55 |
// Drop the tables
|
56 |
+
$wpdb->query( "DROP TABLE IF EXISTS {$wpdb->prefix}statistics_useronline, {$wpdb->prefix}statistics_visit, {$wpdb->prefix}statistics_visitor, {$wpdb->prefix}statistics_exclusions, {$wpdb->prefix}statistics_pages, {$wpdb->prefix}statistics_historical, {$wpdb->prefix}statistics_search, {$wpdb->prefix}statistics_visitor_relationships" );
|
57 |
}
|
58 |
}
|
includes/log/widgets/about.php
CHANGED
@@ -22,7 +22,7 @@ function wp_statistics_generate_about_postbox_content() {
|
|
22 |
}
|
23 |
?>
|
24 |
<div class="wps-postbox-veronalabs">
|
25 |
-
<a href="https://veronalabs.com" target="_blank" title="<?php _e( 'Power by VeronaLabs', 'wp-statistics' ); ?>"><img src="
|
26 |
</div>
|
27 |
</div>
|
28 |
<?php
|
22 |
}
|
23 |
?>
|
24 |
<div class="wps-postbox-veronalabs">
|
25 |
+
<a href="https://veronalabs.com" target="_blank" title="<?php _e( 'Power by VeronaLabs', 'wp-statistics' ); ?>"><img src="<?php echo plugins_url( 'wp-statistics/assets/images/veronalabs.svg' ); ?>"/></a>
|
26 |
</div>
|
27 |
</div>
|
28 |
<?php
|
includes/templates/welcome.php
CHANGED
@@ -145,10 +145,6 @@
|
|
145 |
<a href="https://profiles.wordpress.org/mehrshaddarzi" class="web"><?php echo get_avatar( 'mehrshad198@gmail.com', 62, '', '', array( 'class' => 'gravatar' ) ); ?><?php _e( 'Mehrshad Darzi', 'wp-statistics' ); ?></a>
|
146 |
<span class="title"><?php _e( 'Core Contributor', 'wp-statistics' ); ?></span>
|
147 |
</li>
|
148 |
-
<li class="wp-person">
|
149 |
-
<a href="https://profiles.wordpress.org/ghasemi71ir" class="web"><?php echo get_avatar( 'ghasemi71ir@gmail.com', 62, '', '', array( 'class' => 'gravatar' ) ); ?><?php _e( 'Mohammad Ghasemi', 'wp-statistics' ); ?></a>
|
150 |
-
<span class="title"><?php _e( 'Core Contributor', 'wp-statistics' ); ?></span>
|
151 |
-
</li>
|
152 |
<li class="wp-person">
|
153 |
<a href="https://profiles.wordpress.org/gregross" class="web"><?php echo get_avatar( 'greg@toolstack.com', 62, '', '', array( 'class' => 'gravatar' ) ); ?><?php _e( 'Greg Ross', 'wp-statistics' ); ?></a>
|
154 |
<span class="title"><?php _e( 'Core Contributor', 'wp-statistics' ); ?></span>
|
145 |
<a href="https://profiles.wordpress.org/mehrshaddarzi" class="web"><?php echo get_avatar( 'mehrshad198@gmail.com', 62, '', '', array( 'class' => 'gravatar' ) ); ?><?php _e( 'Mehrshad Darzi', 'wp-statistics' ); ?></a>
|
146 |
<span class="title"><?php _e( 'Core Contributor', 'wp-statistics' ); ?></span>
|
147 |
</li>
|
|
|
|
|
|
|
|
|
148 |
<li class="wp-person">
|
149 |
<a href="https://profiles.wordpress.org/gregross" class="web"><?php echo get_avatar( 'greg@toolstack.com', 62, '', '', array( 'class' => 'gravatar' ) ); ?><?php _e( 'Greg Ross', 'wp-statistics' ); ?></a>
|
150 |
<span class="title"><?php _e( 'Core Contributor', 'wp-statistics' ); ?></span>
|
older-changelog.txt
DELETED
@@ -1,888 +0,0 @@
|
|
1 |
-
== Changelog ==
|
2 |
-
= 10.0 =
|
3 |
-
* Release Date: January 15, 2016
|
4 |
-
* Added: Widgets now support reloading on overview and dashboard screen.
|
5 |
-
* Updated: Overview screen now loads widgets dynamically to reduce memory usage.
|
6 |
-
* Updated: Dashboard widgets now load dynamically.
|
7 |
-
* Updated: Enabling dashboard widgets now no longer require a page load to display the contents.
|
8 |
-
* Updated: Replaced the old eye icon and "more..." link on the right of the title on the overview widgets with a new icon on the right beside the open/close icon.
|
9 |
-
* Fixed: Removed extraneous single quote in SQL statement on referrers page, thanks jhertel.
|
10 |
-
* Fixed: Order of parameters in referrers page when viewing individual referrers was incorrect and resulted in a blank list.
|
11 |
-
* Fixed: UpdatedSQL for last post date detection to order by post_date instead of ID as someone could enter a date in the past for their publish date. Thanks PC1271 for the fix.
|
12 |
-
* Fixed: The referrers widget would only select the first 100k records due to a limit in PHP/MySQL, it will now select all records.
|
13 |
-
* Removed: Widget selection and ordering from the settings page, the "Screen Options" tab can now be used on the enabled/disable widgets and drag and drop will remember their location.
|
14 |
-
* Removed: Overview page memory usage in the optimization page as it is no longer relevant.
|
15 |
-
|
16 |
-
= 9.7 =
|
17 |
-
* Release Date: December 30, 2015
|
18 |
-
* Added: A date range to the referrers page.
|
19 |
-
* Added: A Date range selector to browsers page.
|
20 |
-
* Updated: General SQL cleanups.
|
21 |
-
* Updated: browscap library to 2.1.1.
|
22 |
-
* Updated: GeoIP library to 2.3.3.
|
23 |
-
* Updated: phpUserAgent library to 0.5
|
24 |
-
|
25 |
-
= 9.6.6 =
|
26 |
-
* Release Date: November 1, 2015
|
27 |
-
* Updated: Use timezone corrected dates for date pickers.
|
28 |
-
* Updated the get_ip code to return 127.0.0.1 if no IP address is found (can happen when a user runs WordPress from a command line function, like when setting up a scheduled cron job).
|
29 |
-
* Fixed: Several security related updates, thanks CodeV.
|
30 |
-
|
31 |
-
= 9.6.5 =
|
32 |
-
* Release Date: September 18, 2015
|
33 |
-
* Updated: Updated support libraries, including browscap (2.0.5) and GeoIP (webservices).
|
34 |
-
* Updated: The hits column in the post/pages list no longer requires manage permissions but instead view permission.
|
35 |
-
* Fixed: New browscap.ini format was causing fatal errors in certain circumstances.
|
36 |
-
* Fixed: Missing close tag on the summary widget's users online link.
|
37 |
-
* Fixed: When purging data an incorrect column name was used when updating the historical table.
|
38 |
-
|
39 |
-
= 9.6.4 =
|
40 |
-
* Release Date: September 15, 2015
|
41 |
-
* Updated: Support new browscap.ini file format.
|
42 |
-
|
43 |
-
= 9.6.3 =
|
44 |
-
* Release Date: September 11, 2015
|
45 |
-
* Updated: The database update nag link to the optimization page instead of the settings page.
|
46 |
-
* Updated: Handle the case where the downloads haven't happened yet.
|
47 |
-
* Fixed: In some cases the extenrals tab would show the wrong date for the next scheduled update.
|
48 |
-
* Fixed: In some cases the Piwik and other features may not be enabled even when the checkboxes were selected.
|
49 |
-
* Fixed: If no page id was passed in on the pagestats shortcode the wrong default for page id would be used and no stats would be displayed.
|
50 |
-
|
51 |
-
= 9.6.2 =
|
52 |
-
* Release Date: September 5, 2015
|
53 |
-
* Added: Search table to the empty table list.
|
54 |
-
* Added: Search table size to the optimization page.
|
55 |
-
* Added: Updated SQL calls to the pages table to use $wpdb->prepare() to protect against SQL inject attacks.
|
56 |
-
* Fixed: Check of $wp_roles type as it is an object and not an array which caused only admins to be able to view the statistics.
|
57 |
-
* Fixed: Top referring only displayed search engines.
|
58 |
-
* Updated: Layout of the maintenance tab.
|
59 |
-
|
60 |
-
= 9.6.1 =
|
61 |
-
* Release Date: September 4, 2015
|
62 |
-
* Fixed: Error with undeclared global $WP_Statistics when updating the database.
|
63 |
-
* Added: Re-validation of the current database updates required when loading the optimization page.
|
64 |
-
|
65 |
-
= 9.6 =
|
66 |
-
* Release Date: September 3, 2015
|
67 |
-
* Added: New admin notices for if the database requires updates.
|
68 |
-
* Added: Page/post id field to pagestats shortcode.
|
69 |
-
* Added: Ask.com to search engine list, disabled by default.
|
70 |
-
* Fixed: Display of the dashboard referrers widget.
|
71 |
-
* Fixed: incorrect table name when dropping the old 'AString' field.
|
72 |
-
* Fixed: Error message if the global $wp_roles hadn't been set when we accessed it.
|
73 |
-
* Fixed: When exporting, no data was exported.
|
74 |
-
* Fixed: When excluding countries, multiple entries would not be parsed correctly.
|
75 |
-
* Updated: Purging code now includes the search table.
|
76 |
-
* Updated: Search conversion code to limit the number of records retreived to 10000 and then loop through them to ensure we don't run out of memory during the conversion process.
|
77 |
-
* Updated: Cleaned up the admin notices code.
|
78 |
-
* Updated: Persian translation. Thanks Ali Zeinali.
|
79 |
-
|
80 |
-
= 9.5.3 =
|
81 |
-
* Release Date: August 19, 2015
|
82 |
-
* Added: More robust error reporting if a plugin table is missing.
|
83 |
-
* Added: Support to export the search table.
|
84 |
-
* Fixed: The install script for older versions of MySQL (5.0.x).
|
85 |
-
* Fixed: Export script no longer generates errors when exporting an empty table.
|
86 |
-
* Fixed: WP_Debug error on $crawler when it was an object but didn't have the right properties (aka wasn't the right object).
|
87 |
-
* Fixed: Sidebar widget works again in WordPress 4.3.
|
88 |
-
|
89 |
-
= 9.5.2 =
|
90 |
-
* Release Date: August 8, 2015
|
91 |
-
* Fixed: XSS issue with top-referrers page, thanks Swift Security (http://swiftsecurity.swte.ch/).
|
92 |
-
* Updated: If the GeoIP code is disabled, the warning message was pointing to the old GeoIP tab instead of the new Externals tab.
|
93 |
-
* Updated: French translation.
|
94 |
-
|
95 |
-
= 9.5.1 =
|
96 |
-
* Release Date: August 4, 2015
|
97 |
-
* Fixed: Issue with verifying the WP Statistics tables exist on databases with hyphens in their names.
|
98 |
-
* Updated: Arabic translation.
|
99 |
-
|
100 |
-
= 9.5 =
|
101 |
-
* Release Date: August 3, 2015
|
102 |
-
* Added: Referrer Spam exclusions using the Piwik Referrer Spam Blacklist (see Statistics->Settings->Externals to enable).
|
103 |
-
* Added: Code to remove 'AString' column if it exists in the visitors table during upgrades (bug in a older previous version of WP Statistics erroneously created it).
|
104 |
-
* Fixed: Duplicate key name warning during upgrades for 'date_ip_agent' index.
|
105 |
-
* Fixed: Warning on 'date_ip' index does not exist when trying to drop it during upgrades.
|
106 |
-
* Updated: Storing of search engine/words data is now in it's own table for better performance.
|
107 |
-
* Updated: Combined the GeoIP and browscap tabs in settings in to the Externals tab.
|
108 |
-
* Updated: GeoIP library to V 2.3.1.
|
109 |
-
|
110 |
-
= 9.4.1 =
|
111 |
-
* Release Date: July 9, 2015
|
112 |
-
* Fixed: SQL injection security issue for users with access to the admin pages.
|
113 |
-
* Fixed: Bug in code to save new "Treat corrupt browser info as a bot" setting.
|
114 |
-
* Fixed: Bug in scheduled data pruge code that would not append the correct table prefix.
|
115 |
-
* Updated: Admin manual.
|
116 |
-
|
117 |
-
= 9.4 =
|
118 |
-
* Release Date: July 3, 2015
|
119 |
-
* Added: Date selector to top visitors page.
|
120 |
-
* Added: Option to exclude WordPress's "Not Found" page from the statistics.
|
121 |
-
* Added: Option to treat corrupt http header information as bots (missing IP addresses or user agents).
|
122 |
-
* Added: New robots to list; 007ac9, 5bot, advbot, alphabot, anyevent, blexbot, bubing, cliqzbot, dl2bot, duckduckgo, EveryoneSocialBot, findxbot, glbot, linkapediabot, ltx71, mediabot, medialbot, monobot, OrangeBot, owler, pageanalyzer, porkbun, pr-cy, pwbot, r4bot, revip, riddler, rogerbot, sistrix, SputnikBot, u2bot, uni5download, unrulymedia, wsowner, wsr-agent, x100bot and xzybot
|
123 |
-
* Fixed: Make sure the admin bar only appears for users that have read/manage permissions in WP Statistics.
|
124 |
-
* Updated: Split the access and exclusions tabs in settings.
|
125 |
-
|
126 |
-
= 9.3.1 =
|
127 |
-
* Release Date: May 15, 2015
|
128 |
-
* Fixed: Typo in options name that caused the visitors map to never be displayed.
|
129 |
-
|
130 |
-
= 9.3 =
|
131 |
-
* Release Date: May 15, 2015
|
132 |
-
* Added: Shortcode UI (aka ShortCake) support.
|
133 |
-
* Added: Donation menu and dismissble banner on the overview page.
|
134 |
-
* Added: Applebot, Superfeedr, jetmon, sfFeedReader and feedzirra to the robots list.
|
135 |
-
* Added: Summary postbox on hit statistics page.
|
136 |
-
* Added: Summary postbox on exclusions page.
|
137 |
-
* Added: Date range selector on top countries page.
|
138 |
-
* Added: Purge data based on visitor's hit count on the optimization page.
|
139 |
-
* Added: Option to purge data based on visitor's hit count on a daily basis.
|
140 |
-
* Added: Option to record the page title for search referrals that do not contain a query value.
|
141 |
-
* Updated: Moved all ajax and pseudo ajax calls to use the standard WordPress ajax and init routines instead of using wp-load.php.
|
142 |
-
* Updated: Widgets and pages will only be displayed if the associated statistics is being collected, for example the search engine referrals will only be displayed if the visitor tracking option is enabled.
|
143 |
-
* Fixed: Typo in variable name for one of the dashboard widgets.
|
144 |
-
* Fixed: PHP error when the $browser object wasn't an object when we checked the crawler property.
|
145 |
-
* Fixed: Incorrect parameter for get_option() on two option in the settings page.
|
146 |
-
* Fixed: Widget's didn't translate correctly.
|
147 |
-
|
148 |
-
= 9.2 =
|
149 |
-
* Release Date: April 26, 2015
|
150 |
-
* Added: Date range selector for charts now supports arbitrary date ranges with JavaScript date selector.
|
151 |
-
* Added: If the site is using the blogroll for the homepage, use the blog title as the page name instead of leaving it blank.
|
152 |
-
* Updated: How country codes are loaded for dashboard, widgets and pages.
|
153 |
-
* Fixed: Incorrect URL in the admin manual.
|
154 |
-
* Fixed: WP_DEBUG warning if formatting was not specified in the short code.
|
155 |
-
|
156 |
-
= 9.1.3 =
|
157 |
-
* Release Date: April 14, 2015
|
158 |
-
* Added: Quick link to summary stats.
|
159 |
-
* Added: Escaped text fields in the settings page with htmlentities() to protect against rouge administrators hijacking other admin sessions, thanks Kaustubh.
|
160 |
-
* Fixed: Exclusions page had duplicate quotation marks in some JavaScript fields causing errors.
|
161 |
-
* Fixed: Display of last_counter that is already set to the correct date and doesn't need to be adjusted for timezone.
|
162 |
-
|
163 |
-
= 9.1.2 =
|
164 |
-
* Release Date: March 20, 2015
|
165 |
-
* Fixed: Removed spurious comma in SQL creation script for Visits table, thanks kitchin.
|
166 |
-
|
167 |
-
= 9.1.1 =
|
168 |
-
* Release Date: March 19, 2015
|
169 |
-
* Fixed: Verify the $display settings return an array before using it as an array to avoid warning on overview page.
|
170 |
-
|
171 |
-
= 9.1 =
|
172 |
-
* Release Date: March 18, 2015
|
173 |
-
* Added: Unique index requirement on visits table to avoid race condition creating duplicate entires.
|
174 |
-
* Added: Option to the optimization page to remove duplicates and add new unique index to visits table on existing installs.
|
175 |
-
* Updated: Translations, thanks to all of our translators!
|
176 |
-
* Updated: Cleanup of some WP Debug warnings.
|
177 |
-
* Fixed: JavaScript postboxes call was currupted on some pages causing a javascript error.
|
178 |
-
* Fixed: Change html encode to jason_ecnode for data to be used in javascript to avoid single quotes as part of the translation breaking the javascript array, this change now fixes extended character display in the JavaScript charts.
|
179 |
-
* Fixed: Verify $WP_Statistics is an object before using it, which was causing a fatal error on some installs.
|
180 |
-
* Removed: Redudnent e modifier in preg_replace_callback to avoid php warning message.
|
181 |
-
|
182 |
-
= 9.0 =
|
183 |
-
* Release Date: March 12, 2015
|
184 |
-
* Added: URL exclusions option.
|
185 |
-
* Added: Swedish translation, thanks ronneborn.
|
186 |
-
* Added: Kurdish (Sorani) translation, thanks sardar4it.
|
187 |
-
* Added: Daily wp cron job to create an entry in the visits table for the next day to avoid a race condition.
|
188 |
-
* Updated: The visits code now uses a SQL UPDATE instead of WP's update() to avoid a race condition.
|
189 |
-
* Updated: Performance improvements in the last visitors page.
|
190 |
-
* Updated: Performance improvements in the referrers page.
|
191 |
-
* Updated: Added missing dash_icon call in online users page.
|
192 |
-
* Updated: Make sure the $wp_object global variable is an object before using it, just in case, in the hits code.
|
193 |
-
* Updated: Make sure the $wp_query global variable is an object before using it, just in case, in the hits code.
|
194 |
-
* Updated: Removed variables from i18n functions for better translation support.
|
195 |
-
* Updated: Removed requirement for date_default_timezone_set() which conflicted with some other plugins.
|
196 |
-
* Updated: Make sure to html encode data to be used in javascript to avoid single quotes as part of the translation breaking the javascript array.
|
197 |
-
* Updated: Change summary widget to be clearer about time frames.
|
198 |
-
* Updated: Replace deprecated preg_replace (with /e) with preg_replace_callback. Thanks gbonvehi.
|
199 |
-
* Updated: Use full path to ensure the require_once finds the purge file in the scheduled db maintenance script.
|
200 |
-
* Updated: Persian translation.
|
201 |
-
* Updated: Renamed pagination class to avoid name collisions with other plugins.
|
202 |
-
* Updated: Date display in recent visitors and search words now uses the WordPress date format setting.
|
203 |
-
* Updated: Upgrade email is now send at the end of the page load as wp_mail() hasn't been created during the upgrade script.
|
204 |
-
* Fixed: Export code to handle large tables.
|
205 |
-
* Fixed: Exclusion display for some 'reasons' always being 0.
|
206 |
-
* Removed: Replaced use of global $table_prefix with $wpdb->prefix.
|
207 |
-
* Removed: Use of deprecated $blog_id. Thanks gbonvehi.
|
208 |
-
|
209 |
-
= 8.8.1 =
|
210 |
-
* Release Date: March 9, 2015
|
211 |
-
* Updated license to GPL3.
|
212 |
-
|
213 |
-
= 8.8 =
|
214 |
-
* Release Date: January 31, 2015
|
215 |
-
* Added: Installation/upgrades/removals on WordPress multi-sites now upgrade all sites in the network if the installing user has the appropriate rights.
|
216 |
-
* Added: RSS feed URL's can now be excluded.
|
217 |
-
* Added: Option to set the country code for private IP addresses.
|
218 |
-
* Fixed: Additional WP_DEBUG warning fixes.
|
219 |
-
* Fixed: Incorrect parameter list in get_home_url() when checking for self referrals.
|
220 |
-
* Fixed: Single quotes can now be used in the report content without being escaped.
|
221 |
-
* Fixed: Referrers menu item was misspelled.
|
222 |
-
* Updated: Italian, French, Polish, Arabic, Persian and Chinese translation.
|
223 |
-
* Updated: Widget now formats numbers with international standards.
|
224 |
-
* Updated: Short codes now support three number formatting options; i18n, english or none.
|
225 |
-
* Updated: Removed old throttling code for hits which is no longer required.
|
226 |
-
* Updated: IP address exclusions without a subnet mask now assume a single IP address instead of all IP addresses.
|
227 |
-
|
228 |
-
= 8.7.2 =
|
229 |
-
* Release Date: January 6, 2015
|
230 |
-
* Added: shareaholic-bot to robots list.
|
231 |
-
* Fixed: Robot threshold setting was not being saved.
|
232 |
-
* Updated: Italian translation, thanks illatooscuro.
|
233 |
-
* Updated: Arabic translation, thanks Hammad.
|
234 |
-
* Updated: Honey pot page title now includes "Pot" in it.
|
235 |
-
|
236 |
-
= 8.7.1 =
|
237 |
-
* Release Date: December 28, 2014
|
238 |
-
* Fixed: Variable scope for the exclusion match/reason updated to protected from private to allow the GeoIP code to set them. This could cause various issues including failed uploades depending on the error reporting level set for PHP.
|
239 |
-
|
240 |
-
= 8.7 =
|
241 |
-
* Release Date: December 27, 2014
|
242 |
-
* Added: Charts with multiple lines now include the data set name in the tooltip.
|
243 |
-
* Added: Honey pot option to detect crawlers.
|
244 |
-
* Added: Robot threshold option.
|
245 |
-
* Added: Hit count for visitors is now recorded and displayed.
|
246 |
-
* Added: Top Visitors today widget and page.
|
247 |
-
* Fixed: GeoIP exclusion logic didn't work as the location information was not set before it was applied, moved it to the appropriate location.
|
248 |
-
* Fixed: Incorrect setting names for country include/excludes as well as hosts.
|
249 |
-
* Fixed: Page URI length could exceed the database storage limit and cause duplicate entry warnings, URI is now truncated before being stored.
|
250 |
-
* Updated: Polish and Farsi translations.
|
251 |
-
* Updated: User agent parser to V0.3.2.
|
252 |
-
* Updated: GeoIP library to v2.1.1.
|
253 |
-
|
254 |
-
= 8.6.3 =
|
255 |
-
* Release Date: December 11, 2014
|
256 |
-
* Fixed: Really fix included countries code this time.
|
257 |
-
* Fixed: Typo in excluded hosts code.
|
258 |
-
|
259 |
-
= 8.6.2 =
|
260 |
-
* Release Date: December 11, 2014
|
261 |
-
* Fixed: New included countries code incorrectly identified all countries as excluded.
|
262 |
-
|
263 |
-
= 8.6.1 =
|
264 |
-
* Release Date: December 11, 2014
|
265 |
-
* Added: Code to perform additional clean up of uncommon user agents.
|
266 |
-
* Fixed: Spurious break statement in GeoIP exclusion code which caused a fatal error in certian cases.
|
267 |
-
|
268 |
-
= 8.6 =
|
269 |
-
* Release Date: December 11, 2014
|
270 |
-
* Added: Option to remove URI parameters from page tracking.
|
271 |
-
* Added: GeoIP exclusion options.
|
272 |
-
* Added: Host name exclusion options.
|
273 |
-
* Fixed: Map dashboard widget fails when Google is selected as map provider.
|
274 |
-
* Fixed: Changing the statistical report schedule would not actually change the schedule unless you disabled and then enabled the statistical reports feature.
|
275 |
-
* Updated: French language.
|
276 |
-
|
277 |
-
= 8.5.1 =
|
278 |
-
* Release Date: December 2, 2014
|
279 |
-
* Fixed: Typo in last search page causing fatal error in PHP.
|
280 |
-
|
281 |
-
= 8.5 =
|
282 |
-
* Release Date: December 2, 2014
|
283 |
-
* Added: try/catch condition around browscap call to avoid fatal errors stopping the script.
|
284 |
-
* Added: Page trend widget to post/page editor.
|
285 |
-
* Added: Aland Islands Flag icon.
|
286 |
-
* Added: Option to record all online users regardless if they would otherwise be excluded.
|
287 |
-
* Added: Option to disable the page editor widget.
|
288 |
-
* Fixed: Various security fixes, thanks Ryan.
|
289 |
-
* Fixed: Resolved warnings when natcasesort received a null list, thanks robertalks.
|
290 |
-
* Fixed: Before updating the browscap.ini cache file, remove stale lock files.
|
291 |
-
* Fixed: Avoid throwing a fatal error when the shutdown code is called if for some reason the global $WP_Statistics variable has been destroyed during a page load.
|
292 |
-
* Updated: The online code now uses the same rules to exclude users as the hits code.
|
293 |
-
* Updated: Minor code cleanups and data return checks.
|
294 |
-
* Updated: German translations, thanks bios4.
|
295 |
-
* Updated: Polish and Turkish translations.
|
296 |
-
* Updated: Use built in WordPress function to translate user roles instead of custom strings in our PO file, thanks bios4.
|
297 |
-
|
298 |
-
= 8.4 =
|
299 |
-
* Release Date: November 26, 2014
|
300 |
-
* Added: Dashboard widgets for all of the widgets on the overview page.
|
301 |
-
* Added: Option to disable all dashboard widgets.
|
302 |
-
* Added: Old dashboard widget upgraded with last 10 days of hits statistics.
|
303 |
-
* Added: Online users page and time a user has been online.
|
304 |
-
* Fixed: Fixed missing site_url on top 10 pages in the overview page.
|
305 |
-
* Fixed: Incorrect url generated for Google map if dashboard was being forced in to https mode.
|
306 |
-
* Fixed: Properly un-escape quotation marks in report body if magic quotes is enabled.
|
307 |
-
* Fixed: URL referrer CSS style would 'push' other entires to the next line on small displays.
|
308 |
-
* Fixed: Various PHP warnings on uninitalized variables, thanks bseddon
|
309 |
-
* Updated: Polish translations.
|
310 |
-
* Updated: Default map type now set to JQVMap.
|
311 |
-
|
312 |
-
= 8.3.1 =
|
313 |
-
* Release Date: November 19, 2014
|
314 |
-
* Updated: Various SQL code clean ups.
|
315 |
-
* Updated: Varioud data validation clean ups.
|
316 |
-
* Updated: Various data output encoding updates, thanks Marc.
|
317 |
-
|
318 |
-
= 8.3 =
|
319 |
-
* Release Date: November 14, 2014
|
320 |
-
* Added: Sanity checks for file size and results to browscap.ini updates, if the new cache file size is wrong or it mis-identifies a common real browser as a crawler the update will be rolled back.
|
321 |
-
* Added: Option to e-mail a report on browscap.ini, database pruning, upgrades and GeoIP database updates.
|
322 |
-
* Updated: Polish translations.
|
323 |
-
* Updated: Added "Notificaitons" tab to the settings page and moved statistical report settings to it.
|
324 |
-
* Fixed: The historical data table no longer uses reserved keywords as column names which caused issues on older versions of MySQL.
|
325 |
-
* Fixed: Unable to set visits historical count.
|
326 |
-
* Fixed: Purging did not record visits/visitors correctly if not already set through the optimization page.
|
327 |
-
* Fixed: JavaScript bug when a non-administrative user viewed the settings page.
|
328 |
-
* Removed: Reference to old settings file for the widget.
|
329 |
-
|
330 |
-
= 8.2 =
|
331 |
-
* Release Date: November 6, 2014
|
332 |
-
* Added: Support for historical data.
|
333 |
-
* Added: Removal option.
|
334 |
-
* Updated: Optimized SQL statements to hopefully get rid of duplicate key error/warnings.
|
335 |
-
* Updated: Persian, Polish, Italian translations.
|
336 |
-
* Fixed: Duplicate date display on charts due to DST time change.
|
337 |
-
|
338 |
-
= 8.1.1 =
|
339 |
-
* Release Date: October 26, 2014
|
340 |
-
* Fixed: Bug in browscap.ini update code that could mis-identify all hits as robots.
|
341 |
-
* Fixed: Bug in the scheduled reports code that failed to process the report content correctly.
|
342 |
-
* Fixed: Bug in schedule reports that failed to select the current schedule in the drop down.
|
343 |
-
* Removed: Depricated variables from the report content description.
|
344 |
-
|
345 |
-
= 8.1 =
|
346 |
-
* Release Date: October 18, 2014
|
347 |
-
* Added: Detected browser information to the optimization page.
|
348 |
-
* Updated: Re-organized new browscap code to avoid PHP 5.2 or below throwing a parse error.
|
349 |
-
* Fixed: If the client sent no user agent string a fatal error would be generated, added additional logic to handle this case.
|
350 |
-
* Removed: Unused code in various log displays.
|
351 |
-
|
352 |
-
= 8.0 =
|
353 |
-
* Release Date: October 16, 2014
|
354 |
-
* Added: browscap.ini support for robot detection.
|
355 |
-
* Added: Statistics->Optimization->Database tab now how an option to re-run the install routine in case you have had to delete tables from the database.
|
356 |
-
* Added: PHP version check, WP Statistics now requires PHP 5.3 and will no longer execute without it.
|
357 |
-
* Added: Dashboard widget.
|
358 |
-
* Updated: Top pages now decode the URL for better readability.
|
359 |
-
* Updated: GeoIP library from version 0.5 to 2.0.
|
360 |
-
* Updated: User Agent detection code.
|
361 |
-
* Updated: Serbian, Polish translations.
|
362 |
-
* Updated: All missing language strings have been machine translated when possible.
|
363 |
-
* Updated: IP hashing code has moved out of beta.
|
364 |
-
* Fixed: Incorrect country name being displayed for Georgia.
|
365 |
-
* Fixed: Bug in detecting the new index in the Statistics->Optimization->Database tab.
|
366 |
-
* Fixed: Duplicate closing tag in summary page.
|
367 |
-
* Fixed: Purging the database did not display the results.
|
368 |
-
* Removed: Support for old format substitution codes in the statistics reports, upgrade now converts them to short codes.
|
369 |
-
|
370 |
-
= 7.4 =
|
371 |
-
* Release Date: September 19, 2014
|
372 |
-
* Added: Link URL for referred.
|
373 |
-
* Updated: Widget code now adhears to WordPress standards.
|
374 |
-
* Updated: Persian, Arabic and German (thanks Mike) translations.
|
375 |
-
* Updated: Unique index on visitors table now takes in to account the agent/platform/version information.
|
376 |
-
* Updated: Line charts now redraw when the legend is clicked to add/remove a line.
|
377 |
-
* Fixed: Dates on charts with large number of data points now no longer overwrite each other.
|
378 |
-
* Fixed: Admin bar menu item would use the incorrect admin URL in some circumstances.
|
379 |
-
* Removed: Screenshots are no longer included in the distribution.
|
380 |
-
|
381 |
-
= 7.3 =
|
382 |
-
* Release Date: September 8, 2014
|
383 |
-
* Added: Option to delete the admin manual.
|
384 |
-
* Added: Option to force the robots list to be updated during an upgrade.
|
385 |
-
* Added: Beta code for not storing IP addresses in the database.
|
386 |
-
* Fixed: Bug with new JQVMap code not displaying flags correctly.
|
387 |
-
* Updated: French (fr_FR) language, thanks apeedn.
|
388 |
-
* Updated: Visitors online code now treats different browsers/platforms from the same IP address as different users (this helps with multiple users behind proxy servers).
|
389 |
-
* Updated: Visitors code now treats different browsers/platforms from the same IP address as different users (this helps with multiple users behind proxy servers).
|
390 |
-
* Updated: Persian (fa_IR) language.
|
391 |
-
* Updated: Tested with WordPress 4.0.
|
392 |
-
|
393 |
-
= 7.2 =
|
394 |
-
* Release Date: August 22, 2014
|
395 |
-
* Added: Total visitors by country to the push pins on the overview map.
|
396 |
-
* Added: Statistical reports can now be sent to a custom list of e-mail addresses instead of just the administrator.
|
397 |
-
* Added: JQVMap option for the overview map.
|
398 |
-
* Fixed: Additional WP_DEBUG warnings cleaned up.
|
399 |
-
* Fixed: Google map would sometimes only use part of the area to draw the map in the overview page.
|
400 |
-
* Updated: Statistical report schedules are now listed by occurrence instead of randomly.
|
401 |
-
* Updated: Vertical alignment of statistical report option label column now correct.
|
402 |
-
* Updated: Various grammatical updates.
|
403 |
-
* Updated: Overview map now limits the number of visitors to five per country.
|
404 |
-
* Updated: Persian (fa_IR) language.
|
405 |
-
|
406 |
-
= 7.1 =
|
407 |
-
* Release Date: August 13, 2014
|
408 |
-
* Added: clearch.org search provider, disabled by default.
|
409 |
-
* Added: Database tab to optimization page to manually add unique index on the visitors table removed in 7.0.3.
|
410 |
-
* Updated: Additional WP_DEBUG message fixes.
|
411 |
-
* Updated: Overview widgets no longer overflows on smaller displays.
|
412 |
-
* Updated: Charts now properly resize when the browser window does.
|
413 |
-
|
414 |
-
= 7.0.4 =
|
415 |
-
* Release Date: August 9, 2014
|
416 |
-
* Fixed: Typo in table definition of visitor table's UAString field.
|
417 |
-
|
418 |
-
= 7.0.3 =
|
419 |
-
* Release Date: August 8, 2014
|
420 |
-
* Added: Extra check that the co-efficient setting is valid.
|
421 |
-
* Updated: Format of the dbDetla scripts to match the guidelines from WordPress, thanks kitchin.
|
422 |
-
* Updated: Handled some WP_DEBUG warning messages, thanks kitchin.
|
423 |
-
* Updated: Multiple additional WP_DEBUG warning fixes.
|
424 |
-
* Updated: Arabic (ar) language.
|
425 |
-
* Updated: Polish (pl_PL) language.
|
426 |
-
* Fixed: Typo in variable name which causes the robots list to be overwritten with the defaults incorrectly.
|
427 |
-
* Fixed: Access role exclusions and search engine exclusions options not displaying correctly in the settings page.
|
428 |
-
* Removed: Database upgrade code to add the unique index on the visitors table due to issues with multiple users. Will add back in a future release as a user selectable option.
|
429 |
-
|
430 |
-
= 7.0.2 =
|
431 |
-
* Release Date: August 7, 2014
|
432 |
-
* Fixed: Database prefix not being used when creating/updating tables correctly.
|
433 |
-
* Fixed: New installs caused an error in the new upgrade code as the visitor table did not exist yet.
|
434 |
-
* Fixed: Replaced use of deprecated $table_prefix global during install/update.
|
435 |
-
|
436 |
-
= 7.0.1 =
|
437 |
-
* Release Date: August 5, 2014
|
438 |
-
* Fixed: Error during new installations due to $wpdb object not being available.
|
439 |
-
|
440 |
-
= 7.0 =
|
441 |
-
* Release Date: August 5, 2014
|
442 |
-
* Added: New robots to the robots list: aiHitBot, AntivirusPro, BeetleBot, Blekkobot, cbot, clumboot, coccoc, crowsnest.tv, dbot, dotbot, downloadbot, EasouSpider, Exabot, facebook.com, FriendFeedBot, gimme60bot, GroupHigh, IstellaBot, Kraken, LinkpadBot, MojeekBot, NetcraftSurveyAgent, p4Bot, PaperLiBot, Pimonster, scrapy.org, SearchmetricsBot, SemanticBot, SemrushBot, SiteExplorer, Socialradarbot, SpiderLing, uMBot-LN, Vagabondo, vBSEO, WASALive-Bot, WebMasterAid, WeSEE, XoviBot, YoudaoBot,
|
443 |
-
* Added: Overview page can now be customized for what is displayed on a per user basis.
|
444 |
-
* Added: Overview tab to the settings page to control what is displayed. This page is available to any user that has read access to WP Statistics.
|
445 |
-
* Added: Dutch (nl_NL) translation, thanks Friso van Wieringen.
|
446 |
-
* Added: New index on visitor table for existing installs to avoid duplicate entries being created.
|
447 |
-
* Added: jqPlot javascript library.
|
448 |
-
* Added: Three new schedule options for statistical reports; weekly, bi-weekly and every 4 weeks.
|
449 |
-
* Fixed: Some country codes not displaying in the "Top Countries" overview widget/page.
|
450 |
-
* Fixed: Export filename contained a colon, which is not a valid character.
|
451 |
-
* Fixed: In some cases purging data in the optimization page would succeed but the UI would "re-activate".
|
452 |
-
* Updated: All charts now use jqPlot instead of HighCharts so we are now fully GPL compliant.
|
453 |
-
* Updated: "Top Referring Sites" on the overview page now only displays if there are entries to be displayed.
|
454 |
-
* Updated: "Latest Search Words" on the overview page now only displays if there are entries to be displayed.
|
455 |
-
* Updated: "Top Pages Visited" on the overview page now only displays if there are entries to be displayed.
|
456 |
-
* Updated: About on the overview page box.
|
457 |
-
* Updated: Settings page from css tabs to jQuery tabs.
|
458 |
-
* Updated: Settings system (which used individual WordPress settings for each option) to a new unified system (uses a single WordPress setting and stores it as an array)
|
459 |
-
* Updated: Optimization page from css tabs to jQuery tabs.
|
460 |
-
* Updated: Install/Upgrade code to share a single code base.
|
461 |
-
* Updated: Persian (fa_IR) language.
|
462 |
-
* Updated: Arabic (ar) language.
|
463 |
-
* Updated: rtl.css file for new version.
|
464 |
-
* Updated: Lots of code comments.
|
465 |
-
* Updated: Statistical report schedule list in settings is now dynamically generated.
|
466 |
-
* Updated: WP-Statistics screenshots.
|
467 |
-
* Removed: "Alternate map location" setting as it has been made redundant by the new overview display settings.
|
468 |
-
* Removed: "Chart type" setting as chart types are now hard coded to the appropriate type for the data.
|
469 |
-
* Removed: HighCharts javascript library.
|
470 |
-
* Removed: Unused function objectToArray().
|
471 |
-
|
472 |
-
= 6.1 =
|
473 |
-
* Release Date: June 29, 2014
|
474 |
-
* Added: Display of the current memory_limit setting from php.ini in the optimization page.
|
475 |
-
* Added: New index on visitor table for new installs to avoid duplicate entries being created. A future update will add this index to existing installs but will need additional testing before it is implemented.
|
476 |
-
* Added: Seychelles flag.
|
477 |
-
* Updated: Support international number formats in statistics display.
|
478 |
-
* Updated: Description of WordPress.org plugin link in plugin list.
|
479 |
-
* Updated: Widget and shortcode now use the countonly option in wp_statistics_vistor() for better performance.
|
480 |
-
* Updated: Renamed plugin from "WordPress Statistics" to "WP Statistics".
|
481 |
-
* Fixed: bug in new IP validation code and support for stripping off port numbers if they are passed through the headers. Thanks Stephanos Io.
|
482 |
-
* Updated: Persian (fa_IR) language.
|
483 |
-
|
484 |
-
= 6.0 =
|
485 |
-
* Release Date: June 11, 2014
|
486 |
-
* Added: Page tracking support. Includes new overview widget and detail page. Also supports page hit count in the pages/post list and in the page/post editor.
|
487 |
-
* Added: Admin manual, online viewing as well as downloadable version.
|
488 |
-
* Added: Links for “Settings”, “WordPress Plugin Page” and “Rate” pages to the plugin list for WP Statistics.
|
489 |
-
* Updated: General settings tab re-organization.
|
490 |
-
* Updated: Several typo's and other minor issues.
|
491 |
-
* Updated: Highcharts JS v3.0.9 to JS v4.0.1.
|
492 |
-
* Updated: Persian (fa_IR) language.
|
493 |
-
* Updated: Polish (pl_PL) language.
|
494 |
-
* Updated: Arabic (ar) language.
|
495 |
-
* Updated: Turkish (tr_TR) language.
|
496 |
-
* Removed: shortcode and functions reference from readme.txt, now in admin manual.
|
497 |
-
|
498 |
-
= 5.4 =
|
499 |
-
* Release Date: May 31, 2014
|
500 |
-
* Fixed: GeoIP dependency code to ignore safe mode check in PHP 5.4 or newer.
|
501 |
-
* Fixed: GeoIP dependency code to properly detect safe mode with PHP 5.3 or older.
|
502 |
-
* Fixed: Browser information not recorded if GeoIP was not enabled.
|
503 |
-
* Updated: get_IP code to better handle malformed IP addresses.
|
504 |
-
* Updated: Persian (fa_IR) language.
|
505 |
-
* Updated: Arabic (ar) language.
|
506 |
-
* Updated: Chinese (zh_CN) language.
|
507 |
-
|
508 |
-
= 5.3 =
|
509 |
-
* Release Date: April 17, 2014
|
510 |
-
* Added: New robot's to the robots list: BOT for JCE, Leikibot, LoadTimeBot, NerdyBot, niki-bot, PagesInventory, sees.co, SurveyBot, trendictionbot, Twitterbot, Wotbox, ZemlyaCrawl
|
511 |
-
* Added: Check for PHP's Safe Mode as the GeoIP code does not function with it enabled.
|
512 |
-
* Added: Option to disable administrative notices of inactive features.
|
513 |
-
* Added: Option to export column names as first line of export files.
|
514 |
-
* Added: Options to disable search engines from being collected/displayed.
|
515 |
-
* Updated: French (fr_FR) language translation.
|
516 |
-
* Fixed: Download of the GeoIP database could cause a fatal error message at the end of a page if it was triggered outside the admin area.
|
517 |
-
|
518 |
-
= 5.2 =
|
519 |
-
* Release Date: March 10, 2014
|
520 |
-
* Added: Additional checks for BC Math and cURL which are required for the GeoIP code.
|
521 |
-
* Updated: GeoIP database handling if it is missing or invalid.
|
522 |
-
* Updated: GeoIP database is now stored in uploads/wp-statistics directory so it does not get overwritten during upgrades.
|
523 |
-
* Fixed: Typo's in the shortcode codes (thanks g33kg0dd3ss).
|
524 |
-
* Updated: Polish (pl_PL) language.
|
525 |
-
|
526 |
-
= 5.1 =
|
527 |
-
* Release Date: March 3, 2014
|
528 |
-
* Fixes: Small bug in referral url.
|
529 |
-
* Fixes: Problem export table.
|
530 |
-
* Updated: Arabic (ar) language.
|
531 |
-
|
532 |
-
= 5.0 =
|
533 |
-
* Release Date: March 2, 2014
|
534 |
-
* Added: Show last visitor in Google Map.
|
535 |
-
* Added: Search visitor by IP in log pages.
|
536 |
-
* Added: Total line to charts with multiple values, like the search engine referrals.
|
537 |
-
* Added: Shortcodes. [By Greg Ross](http://profiles.wordpress.org/gregross)
|
538 |
-
* Added: Dashicons to log pages.
|
539 |
-
* Fixes: Small bugs.
|
540 |
-
* Fixes: More debug warnings.
|
541 |
-
* Fixes: User access function level code always returned manage_options no matter what it was actaully set to.
|
542 |
-
* Updated: Hungarian (hu_HU) language.
|
543 |
-
* Updated: Turkish (tr_TR) language.
|
544 |
-
* Removed: Parameter from `wp_statistics_lastpostdate()` function and return date type became dynamic.
|
545 |
-
|
546 |
-
= 4.8.1 =
|
547 |
-
* Release Date: February 4, 2014
|
548 |
-
* Fixes: Small bug in the `Current_Date`.
|
549 |
-
* Fixes: Small bug in the `exclusions.php` file.
|
550 |
-
* Updated: Polish (pl_PL) language.
|
551 |
-
|
552 |
-
= 4.8 =
|
553 |
-
* Release Date: February 4, 2014
|
554 |
-
* Added: Converting Gregorian date to Persian When enabled [wp-parsidate](http://wordpress.org/plugins/wp-parsidate/) plugin.
|
555 |
-
* Added: New feature, option to record the number and type of excluded hits to your site.
|
556 |
-
* Added: New exclusion types for login and admin pages.
|
557 |
-
* Fixes: GeoIP populate code now REALLY functions again.
|
558 |
-
* Updated: Arabic (ar) language.
|
559 |
-
* Updated: Polish (pl_PL) language.
|
560 |
-
|
561 |
-
= 4.7 =
|
562 |
-
* Release Date: February 2, 2014
|
563 |
-
* Added: Responsive Stats page for smaller-screen devices.
|
564 |
-
* Added: Dashicons icon for plugin page.
|
565 |
-
* Added: Tabs option in setting page.
|
566 |
-
* Added: Tabs category in optimization page.
|
567 |
-
* Fixes: More debug warnings.
|
568 |
-
* Fixes: GeoIP populate code now functions again.
|
569 |
-
* Updated: Some optimization of the statistics code.
|
570 |
-
* Updated: Search Words now reports results only for referrers with actual search queries.
|
571 |
-
* Updated: Highcharts JS v3.0.7 to JS v3.0.9.
|
572 |
-
* Updated: Brazil (pt_BR) language.
|
573 |
-
|
574 |
-
= 4.6.1 =
|
575 |
-
* Release Date: January 24, 2014
|
576 |
-
* Fixes: a Small bug in to get rid of one of the reported warnings from debug mode.
|
577 |
-
|
578 |
-
= 4.6 =
|
579 |
-
* Release Date: January 20, 2014
|
580 |
-
* Added: In the optimization page you can now empty all tables at once.
|
581 |
-
* Added: In the optimization page you can now purge statistics over a given number of days old.
|
582 |
-
* Added: Daily scheduled job to purge statistics over a given number of days old.
|
583 |
-
* Fixes: Bug in the robots code that on new installs failed to populate the defaults in the database.
|
584 |
-
* Fixes: All known warning messages when running in WordPress debug mode.
|
585 |
-
* Fixes: Incorrect description of co-efficient value in the setting page.
|
586 |
-
* Fixes: Top level links on the various stats pages now update highlight the current page in the admin menu instead of the overview page.
|
587 |
-
* Fixes: Install code now only executes on a true new installation instead of on each activation.
|
588 |
-
* Fixes: Bug in hits code when GeoIP was disabled, IP address would not be recorded.
|
589 |
-
|
590 |
-
= 4.5 =
|
591 |
-
* Release Date: January 18, 2014
|
592 |
-
* Added: Support for more search engines: DuckDuckGo, Baidu and Yandex.
|
593 |
-
* Added: Support for Google local sites like google.ca, google.fr, etc.
|
594 |
-
* Added: Anchor links in the optimization and settings page to the main sections.
|
595 |
-
* Added: Icon for Opera Next.
|
596 |
-
* Updated: Added new bot match strings: 'archive.org_bot', 'meanpathbot', 'moreover', 'spbot'.
|
597 |
-
* Updated: Replaced bot match string 'ezooms.bot' with 'ezooms'.
|
598 |
-
* Updated: Overview summary statistics layout.
|
599 |
-
* Fixes: Bug in widget code that didn't allow you to edit the settings after adding the widget to your site.
|
600 |
-
|
601 |
-
= 4.4 =
|
602 |
-
* Release Date: January 16, 2014
|
603 |
-
* Added: option to set the required capability level to view statistics in the admin interface.
|
604 |
-
* Added: option to set the required capability level to manage statistics in the admin interface.
|
605 |
-
* Fixes: 'See More' links on the overview page now update highlight the current page in the admin menu instead of the overview page.
|
606 |
-
* Added: Schedule downloads of the GeoIP database.
|
607 |
-
* Added: Auto populate missing GeoIP information after a download of the GeoIP database.
|
608 |
-
* Fixes: Unschedule of report event if reporting is disabled.
|
609 |
-
|
610 |
-
= 4.3.1 =
|
611 |
-
* Release Date: January 13, 2014
|
612 |
-
* Fixes: Critical bug that caused only a single visitor to be recorded.
|
613 |
-
* Added: Version information to the optimization page.
|
614 |
-
[Thanks Greg Ross](http://profiles.wordpress.org/gregross)
|
615 |
-
|
616 |
-
= 4.3 =
|
617 |
-
* Release Date: January 12, 2014
|
618 |
-
* Added: Definable robots list to exclude based upon the user agent string from the client.
|
619 |
-
* Added: IP address and subnet exclusion support.
|
620 |
-
* Added: Client IP and user agent information to the optimization page.
|
621 |
-
* Added: Support to exclude users from data collection based on their WordPress role.
|
622 |
-
* Fixes: A bug when the GeoIP code was disabled with optimization page.
|
623 |
-
|
624 |
-
= 4.2 =
|
625 |
-
* Release Date: December 31, 2013
|
626 |
-
* Added: Statistical menus.
|
627 |
-
* Fixes: Small bug in the geoip version.
|
628 |
-
* Language: Serbian (sr_RS) was updated.
|
629 |
-
* Language: German (de_DE) was updated.
|
630 |
-
* Language: French (fr_FR) was updated.
|
631 |
-
|
632 |
-
= 4.1 =
|
633 |
-
* Release Date: December 23, 2013
|
634 |
-
* Language: Arabic (ar) was updated
|
635 |
-
* Fixes: small bug in moved the GeoIP database.
|
636 |
-
* Updated: update to the spiders list.
|
637 |
-
|
638 |
-
= 4.0 =
|
639 |
-
* Release Date: December 21, 2013
|
640 |
-
* Added: GeoIP location support for visitors country.
|
641 |
-
* Added: Download option in settings for GeoIP database.
|
642 |
-
* Added: Populate location entries with unknown or missing location information to the optimization page.
|
643 |
-
* Added: Detect self referrals and disregard them like webcrawlers.
|
644 |
-
* Added: "All Browsers" and "Top Countries" pages.
|
645 |
-
* Added: "more" page to hit statistics chart, support for charts from 10 days to 1 year.
|
646 |
-
* Added: "more" page to search engine statistics chart, support for charts from 10 days to 1 year.
|
647 |
-
* Added: Option to store complete user agent string for debugging purposes.
|
648 |
-
* Added: Option to delete specific browser or platform types from the database in the optimization page.
|
649 |
-
* Updated: Browser detection now supports more browsers and includes platform and version information.
|
650 |
-
* Updated: List of webcrawlers to catch more bots.
|
651 |
-
* Updated: Statistics reporting options in settings no longer needs a page reload to hide/show the settings.
|
652 |
-
* Updated: Summary Statistcs now uses the WordPress set format for the time and date.
|
653 |
-
* Fixes: Webcrawler detection now works and is case insensitive.
|
654 |
-
* Fixes: Install code now correctly sets defaults.
|
655 |
-
* Fixes: Upgrade code now works correctly. If you are running V3.2, your old data will be preserved, older versions will delete the tables and recreate them.
|
656 |
-
* Fixes: Ajax submissions on the optmiziation page (like the empty table function) should work in IE and other browsers that are sensitive to cross site attacks.
|
657 |
-
* Fixes: Replaced call to the dashboard code (to support the postbox widgets on the log screen) with the proper call to the postbox code as WordPress 3.8 beta 1 did not work with the old code.
|
658 |
-
* Updated: Highcharts JS 3.0.1 to JS 3.0.7 version.
|
659 |
-
|
660 |
-
= 3.2 =
|
661 |
-
* Release Date: August 7, 2013
|
662 |
-
* Added: Optimization plugin page.
|
663 |
-
* Added: Export data to excel, xml, csv and tsv files.
|
664 |
-
* Added: Delete table data.
|
665 |
-
* Added: Show memory usage in optimization page.
|
666 |
-
* Language: Polish (pl_PL) was updated.
|
667 |
-
* Language: updated.
|
668 |
-
|
669 |
-
= 3.1.4 =
|
670 |
-
* Release Date: July 18, 2013
|
671 |
-
* Added: Chart Type in the settings plugin.
|
672 |
-
* Added: Search Engine referrer chart in the view stats page.
|
673 |
-
* Added: Search Engine stats in Summary Statistics.
|
674 |
-
* Optimized: 'wp_statistics_searchengine()' and add second parameter in the function.
|
675 |
-
* Language: Chinese (China) was added.
|
676 |
-
* Language: Russian was updated.
|
677 |
-
* Language: updated.
|
678 |
-
|
679 |
-
= 3.1.3 =
|
680 |
-
* Release Date: June 9, 2013
|
681 |
-
* Optimized: View statistics.
|
682 |
-
* Added: Chinese (Taiwan) language.
|
683 |
-
|
684 |
-
= 3.1.2 =
|
685 |
-
* Release Date: June 4, 2013
|
686 |
-
* Added: Top referring sites with full details.
|
687 |
-
* Resolved: Loads the plugin's translated strings problem.
|
688 |
-
* Resolved: View the main site in top referring sites.
|
689 |
-
* Resolved: Empty referrer.
|
690 |
-
* Resolved: Empty search words.
|
691 |
-
* Update: Highcharts js 2.3.5 to v3.0.1.
|
692 |
-
* Language: Arabic was updated.
|
693 |
-
* Language: Hungarian was updated.
|
694 |
-
* Language: updated.
|
695 |
-
|
696 |
-
= 3.1.1 =
|
697 |
-
* Release Date: April 11, 2013
|
698 |
-
* Bug Fix: Security problem. (Thanks Mohammad Teimori) for report bug.
|
699 |
-
* Optimized: Statistics screen in resolution 1024x768.
|
700 |
-
* Language: Persian was updated.
|
701 |
-
|
702 |
-
= 3.1.0 =
|
703 |
-
* Release Date: April 3, 2013
|
704 |
-
* Bug Fix: Statistics Menu bar.
|
705 |
-
* Bug Fix: Referral link of the last visitors.
|
706 |
-
* Added: Latest all search words with full details.
|
707 |
-
* Added: Recent all visitors with full details.
|
708 |
-
* Optimized: View statistics.
|
709 |
-
* Language: updated.
|
710 |
-
* Language: Arabic was updated.
|
711 |
-
* Remove: IP Information in setting page.
|
712 |
-
|
713 |
-
= 3.0.2 =
|
714 |
-
* Release Date: February 5, 2013
|
715 |
-
* Added: Hungarian language.
|
716 |
-
* Added: Insert value in useronline table by Primary_Values function.
|
717 |
-
* Added: Opera browser in get_UserAgent function.
|
718 |
-
* Added: prefix wps_ in options.
|
719 |
-
* Added: Notices to enable or disable the plugin.
|
720 |
-
* Changed: Statistics class to WP_Statistics because Resemblance name.
|
721 |
-
|
722 |
-
= 3.0.1 =
|
723 |
-
* Release Date: February 3, 2013
|
724 |
-
* Bug Fix: Table plugin problem.
|
725 |
-
|
726 |
-
= 3.0 =
|
727 |
-
* Release Date: February 3, 2013
|
728 |
-
* Bug Fix: problem in calculating Statistics.
|
729 |
-
* Optimized: and speed up the process.
|
730 |
-
* Optimized: Overall reconstruction and coding plug with a new structure.
|
731 |
-
* Optimized: The use of object-oriented programming.
|
732 |
-
* Added: statistics screen to complete.
|
733 |
-
* Added: Chart Show.
|
734 |
-
* Added: Graph of Browsers.
|
735 |
-
* Added: Latest search words.
|
736 |
-
* Added: Specification (Country and county) Visitors.
|
737 |
-
* Added: Top referring sites.
|
738 |
-
* Added: Send stats to Email/[SMS](http://wordpress.org/extend/plugins/wp-sms/)
|
739 |
-
|
740 |
-
= 2.3.3 =
|
741 |
-
* Release Date: December 18, 2012
|
742 |
-
* Serbian language was solved.
|
743 |
-
* Server variables were optimized by m.emami.
|
744 |
-
* Turkish translation was complete.
|
745 |
-
|
746 |
-
= 2.3.2 =
|
747 |
-
* Release Date: October 24, 2012
|
748 |
-
* Added Indonesia language.
|
749 |
-
* Turkish language file corrected by MBOZ.
|
750 |
-
|
751 |
-
= 2.3.1 =
|
752 |
-
* Release Date: October 12, 2012
|
753 |
-
* Added Polish language.
|
754 |
-
* Added Support forum link in menu.
|
755 |
-
* Fix problem error in delete plugin.
|
756 |
-
|
757 |
-
= 2.3.0 =
|
758 |
-
* Release Date: Not released
|
759 |
-
* Added Serbian language.
|
760 |
-
|
761 |
-
= 2.2.9 =
|
762 |
-
* Release Date: September 20, 2012
|
763 |
-
* Added Bengali language.
|
764 |
-
|
765 |
-
= 2.2.8 =
|
766 |
-
* Release Date: July 27, 2012
|
767 |
-
* Added Russian language.
|
768 |
-
* Fix problem in count views.
|
769 |
-
* Added more filter for check spider.
|
770 |
-
* Optimize plugin.
|
771 |
-
|
772 |
-
= 2.2.7 =
|
773 |
-
* Release Date: May 20, 2012
|
774 |
-
* Fix problem in widget class.
|
775 |
-
* Redundancy in Arabic translation.
|
776 |
-
* Fix problem in [countposts] shortcode.
|
777 |
-
* Optimized Style Reports.
|
778 |
-
|
779 |
-
= 2.2.6 =
|
780 |
-
* Release Date: April 19, 2012
|
781 |
-
* Fix a small problem.
|
782 |
-
|
783 |
-
= 2.2.5 =
|
784 |
-
* Release Date: April 18, 2012
|
785 |
-
* The security problem was solved. Please be sure to update!
|
786 |
-
* Redundancy in French translation.
|
787 |
-
* Add CSS Class for the containing widget. (Thanks Luai Mohammed).
|
788 |
-
* Add daily or total search engines in setting page.
|
789 |
-
* Using wordpress jQuery in setting page.
|
790 |
-
|
791 |
-
= 2.2.4 =
|
792 |
-
* Release Date: March 12, 2012
|
793 |
-
* Added Turkish language.
|
794 |
-
* Added Italian language.
|
795 |
-
* Added German language.
|
796 |
-
* Arabic language was solved.
|
797 |
-
* Romanian language was solved.
|
798 |
-
* The words in setting page were complete. (Thanks Will Abbott) default.po file is Updated.
|
799 |
-
* The change of time from minutes to seconds to check users online.
|
800 |
-
* Ignoring search engine crawler.
|
801 |
-
* Added features premium version to free version.
|
802 |
-
* Added user online live.
|
803 |
-
* Added total visit live.
|
804 |
-
* Added Increased to visit.
|
805 |
-
* Added Reduced to visit.
|
806 |
-
* Added Coefficient statistics for each user.
|
807 |
-
|
808 |
-
= 2.2.3 =
|
809 |
-
* Release Date: February 3, 2012
|
810 |
-
* Optimized Counting.
|
811 |
-
* Added Arabic language.
|
812 |
-
* Draging problem was solved in Widgets
|
813 |
-
* css problem was solved in sidebar
|
814 |
-
|
815 |
-
= 2.2.2 =
|
816 |
-
* Release Date: January 11, 2012
|
817 |
-
* Solving show functions in setting page.
|
818 |
-
* Solving month visit in widget.
|
819 |
-
* Added Spanish language.
|
820 |
-
|
821 |
-
= 2.2.1 =
|
822 |
-
* Release Date: December 27, 2011
|
823 |
-
* Solving drap uploader problem in media-new.php.
|
824 |
-
|
825 |
-
= 2.2.0 =
|
826 |
-
* Release Date: December 26, 2011
|
827 |
-
* Added statistics to admin bar wordpress 3.3.
|
828 |
-
* Added Uninstall for remove data and table from database.
|
829 |
-
* Added all statistics item in widget and Their choice.
|
830 |
-
* Optimize show function code in setting page.
|
831 |
-
* Calling jQuery in wordpress admin for plugin.
|
832 |
-
* Remove the word "disabled" in the statistics When the plugin was disabled.
|
833 |
-
* Solving scroll problem in statistics page.
|
834 |
-
|
835 |
-
= 2.1.6 =
|
836 |
-
* Release Date: October 21, 2011
|
837 |
-
* Added Russian language.
|
838 |
-
|
839 |
-
= 2.1.5 =
|
840 |
-
* Release Date: October 29, 2011
|
841 |
-
* Added French language.
|
842 |
-
* Rounds a float Averages.
|
843 |
-
|
844 |
-
= 2.1.4 =
|
845 |
-
* Release Date: October 21, 2011
|
846 |
-
* Added Romanian language.
|
847 |
-
|
848 |
-
= 2.1.3 =
|
849 |
-
* Release Date: October 14, 2011
|
850 |
-
* Active plugin in setting page was solved.
|
851 |
-
|
852 |
-
= 2.1.2 =
|
853 |
-
* Release Date: October 12, 2011
|
854 |
-
* Added default language file.
|
855 |
-
* Added Portuguese language.
|
856 |
-
|
857 |
-
= 2.1.1 =
|
858 |
-
* Release Date: September 27, 2011
|
859 |
-
* Complete files
|
860 |
-
|
861 |
-
= 2.1 =
|
862 |
-
* Release Date: September 25, 2011
|
863 |
-
* Edit string
|
864 |
-
|
865 |
-
= 2.0 =
|
866 |
-
* Release Date: September 20, 2011
|
867 |
-
* Support from Database
|
868 |
-
* Added Setting Page
|
869 |
-
* Added decimals number
|
870 |
-
* Added Online user check time
|
871 |
-
* Added Database check time
|
872 |
-
* Added User Online
|
873 |
-
* Added Today Visit
|
874 |
-
* Added Yesterday Visit
|
875 |
-
* Added Week Visit
|
876 |
-
* Added Month Visit
|
877 |
-
* Added Years Visit
|
878 |
-
* Added Search Engine reffered
|
879 |
-
* Added Average Posts
|
880 |
-
* Added Average Comments
|
881 |
-
* Added Average Users
|
882 |
-
* Added Google Pagerank
|
883 |
-
* Added Alexa Pagerank
|
884 |
-
* Added wordpress shortcode
|
885 |
-
|
886 |
-
= 1.0 =
|
887 |
-
* Release Date: March 20, 2011
|
888 |
-
* Start plugin
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
readme.txt
CHANGED
@@ -1,12 +1,11 @@
|
|
1 |
-
|
2 |
=== WP Statistics ===
|
3 |
Contributors: mostafa.s1990, mehrshaddarzi, ghasemi71ir, GregRoss, dedidata
|
4 |
Donate link: https://wp-statistics.com/donate/
|
5 |
Tags: analytics, wordpress analytics, stats, statistics, visit, visitors, hits, chart, browser, today, yesterday, week, month, year, total, post, page, sidebar, google, live visit, search word, agent, google analytics, webmasters, google webmasters, geoip, location
|
6 |
Requires at least: 3.0
|
7 |
-
Tested up to: 5.
|
8 |
Requires PHP: 5.6
|
9 |
-
Stable tag: 12.6.
|
10 |
License: GPLv3
|
11 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
12 |
|
@@ -127,6 +126,11 @@ http://yourwebsite.com/wp-json/wpstatistics/v1
|
|
127 |
To register, go to the Permalink page and update the permalink with press Save Changes.
|
128 |
|
129 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
130 |
= 12.6.10 =
|
131 |
* Improvement: Admin cache detector issue.
|
132 |
* Added: Some filter for integration with new Add-On called WP-Statistics Customization.
|
|
|
1 |
=== WP Statistics ===
|
2 |
Contributors: mostafa.s1990, mehrshaddarzi, ghasemi71ir, GregRoss, dedidata
|
3 |
Donate link: https://wp-statistics.com/donate/
|
4 |
Tags: analytics, wordpress analytics, stats, statistics, visit, visitors, hits, chart, browser, today, yesterday, week, month, year, total, post, page, sidebar, google, live visit, search word, agent, google analytics, webmasters, google webmasters, geoip, location
|
5 |
Requires at least: 3.0
|
6 |
+
Tested up to: 5.3
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 12.6.11
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
126 |
To register, go to the Permalink page and update the permalink with press Save Changes.
|
127 |
|
128 |
== Changelog ==
|
129 |
+
= 12.6.11 =
|
130 |
+
* Improvement: REST API request.
|
131 |
+
* Improvement: Minor issues.
|
132 |
+
* Fixed: Issue to uninstalling the tables.
|
133 |
+
|
134 |
= 12.6.10 =
|
135 |
* Improvement: Admin cache detector issue.
|
136 |
* Added: Some filter for integration with new Add-On called WP-Statistics Customization.
|
wp-statistics.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: WP Statistics
|
4 |
* Plugin URI: https://wp-statistics.com/
|
5 |
* Description: Complete WordPress Analytics and Statistics for your site!
|
6 |
-
* Version: 12.6.
|
7 |
* Author: VeronaLabs
|
8 |
* Author URI: http://veronalabs.com/
|
9 |
* Text Domain: wp-statistics
|
3 |
* Plugin Name: WP Statistics
|
4 |
* Plugin URI: https://wp-statistics.com/
|
5 |
* Description: Complete WordPress Analytics and Statistics for your site!
|
6 |
+
* Version: 12.6.11
|
7 |
* Author: VeronaLabs
|
8 |
* Author URI: http://veronalabs.com/
|
9 |
* Text Domain: wp-statistics
|