WP Statistics - Version 12.6.10

Version Description

  • Improvement: Admin cache detector issue.
  • Added: Some filter for integration with new Add-On called WP-Statistics Customization.
Download this release

Release Info

Developer mostafa.s1990
Plugin Icon 128x128 WP Statistics
Version 12.6.10
Comparing to
See all releases

Code changes from version 12.6.9 to 12.6.10

.gitignore ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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)
composer.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,481 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
@@ -25,6 +25,7 @@ class WP_Statistics_Admin {
25
  // If we've been removed, return without doing anything else.
26
  if ( get_option( 'wp_statistics_removal' ) == 'done' ) {
27
  add_action( 'admin_notices', array( $this, 'removal_admin_notice' ), 10, 2 );
 
28
  return;
29
  }
30
 
@@ -69,10 +70,13 @@ class WP_Statistics_Admin {
69
  //init ShortCode
70
  add_action( 'admin_init', 'WP_Statistics_Shortcode::shortcake' );
71
 
72
- // WP-Statistics welcome page hooks
73
- add_action( 'admin_menu', 'WP_Statistics_Welcome::menu' );
74
- add_action( 'upgrader_process_complete', 'WP_Statistics_Welcome::do_welcome', 10, 2 );
75
- add_action( 'admin_init', 'WP_Statistics_Welcome::init' );
 
 
 
76
 
77
  // Runs some scripts at the end of the admin panel inside the body tag
78
  add_action( 'admin_footer', array( $this, 'admin_footer_scripts' ) );
@@ -133,6 +137,11 @@ class WP_Statistics_Admin {
133
  */
134
  public function overview_page_ads() {
135
 
 
 
 
 
 
136
  // Get Overview Ads
137
  $get_overview_ads = get_option( 'wp_statistics_overview_page_ads', false );
138
 
@@ -149,7 +158,7 @@ class WP_Statistics_Admin {
149
  }
150
 
151
  // Get Json Data
152
- $data = json_decode( wp_remote_retrieve_body( $request ), true );
153
 
154
  // Set new Timestamp
155
  $overview_ads['timestamp'] = current_time( 'timestamp' );
@@ -314,9 +323,8 @@ class WP_Statistics_Admin {
314
 
315
  $set_transient = true;
316
  $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>';
317
- $request = wp_remote_post( path_join( get_rest_url(), WP_Statistics_Rest::route . '/' . WP_Statistics_Rest::func ), array(
318
- 'method' => 'POST',
319
- 'body' => array( 'rest-api-wp-statistics' => 'wp-statistics' )
320
  ) );
321
  if ( is_wp_error( $request ) ) {
322
  echo $alert;
25
  // If we've been removed, return without doing anything else.
26
  if ( get_option( 'wp_statistics_removal' ) == 'done' ) {
27
  add_action( 'admin_notices', array( $this, 'removal_admin_notice' ), 10, 2 );
28
+
29
  return;
30
  }
31
 
70
  //init ShortCode
71
  add_action( 'admin_init', 'WP_Statistics_Shortcode::shortcake' );
72
 
73
+ // Check Filter for showing welcome page.
74
+ if ( apply_filters( 'wp_statistics_show_welcome_page', true ) ) {
75
+ // WP-Statistics welcome page hooks
76
+ add_action( 'admin_menu', 'WP_Statistics_Welcome::menu' );
77
+ add_action( 'upgrader_process_complete', 'WP_Statistics_Welcome::do_welcome', 10, 2 );
78
+ add_action( 'admin_init', 'WP_Statistics_Welcome::init' );
79
+ }
80
 
81
  // Runs some scripts at the end of the admin panel inside the body tag
82
  add_action( 'admin_footer', array( $this, 'admin_footer_scripts' ) );
137
  */
138
  public function overview_page_ads() {
139
 
140
+ // Check Active Ads in OverView Page
141
+ if ( apply_filters( 'wp_statistics_ads_overview_page_show', true ) === false ) {
142
+ return;
143
+ }
144
+
145
  // Get Overview Ads
146
  $get_overview_ads = get_option( 'wp_statistics_overview_page_ads', false );
147
 
158
  }
159
 
160
  // Get Json Data
161
+ $data = json_decode( wp_remote_retrieve_body( $request ), true );
162
 
163
  // Set new Timestamp
164
  $overview_ads['timestamp'] = current_time( 'timestamp' );
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( path_join( get_rest_url(), WP_Statistics_Rest::route . '/' . WP_Statistics_Rest::func ), array(
327
+ 'body' => array( 'rest-api-wp-statistics' => 'wp-statistics' )
 
328
  ) );
329
  if ( is_wp_error( $request ) ) {
330
  echo $alert;
includes/classes/class-wp-statistics-welcome.php CHANGED
@@ -9,6 +9,8 @@ class WP_Statistics_Welcome {
9
  */
10
  public static function init() {
11
  global $WP_Statistics;
 
 
12
  if ( $WP_Statistics->get_option( 'show_welcome_page', false ) and ( strpos( $_SERVER['REQUEST_URI'], '/wp-admin/index.php' ) !== false or ( isset( $_GET['page'] ) and $_GET['page'] == 'wps_overview_page' ) ) ) {
13
  // Disable show welcome page
14
  $WP_Statistics->update_option( 'first_show_welcome_page', true );
9
  */
10
  public static function init() {
11
  global $WP_Statistics;
12
+
13
+ // Check Show WelCome Page
14
  if ( $WP_Statistics->get_option( 'show_welcome_page', false ) and ( strpos( $_SERVER['REQUEST_URI'], '/wp-admin/index.php' ) !== false or ( isset( $_GET['page'] ) and $_GET['page'] == 'wps_overview_page' ) ) ) {
15
  // Disable show welcome page
16
  $WP_Statistics->update_option( 'first_show_welcome_page', true );
includes/log/log.php CHANGED
@@ -116,7 +116,7 @@ foreach ( array( 'exclusions' => 'exclusions', 'users_online' => 'online' ) as $
116
  // Added New Ads
117
  <?php
118
  $overview_ads = get_option( 'wp_statistics_overview_page_ads', false );
119
- if($overview_ads != false and is_array( $overview_ads ) and $overview_ads['ads']['ID'] != $overview_ads['view'] and $overview_ads['ads']['status'] == "yes") {
120
  ?>
121
  jQuery(`<div id="wps_overview_ads_postbox" class="postbox"><div class="inside"><div class="close-overview-ads"><span class="dashicons dashicons-dismiss"></span></div><a href="<?php echo( isset( $overview_ads['ads']['link'] ) ? $overview_ads['ads']['link'] : '' ); ?>" title="<?php echo( isset( $overview_ads['ads']['title'] ) ? $overview_ads['ads']['title'] : '' ); ?>" <?php echo( $overview_ads['ads']['_target'] == "yes" ? ' target="_blank"' : '' ); ?>><img style="display: block;" src="<?php echo( isset( $overview_ads['ads']['image'] ) ? $overview_ads['ads']['image'] : '' ); ?>" alt="<?php echo( isset( $overview_ads['ads']['title'] ) ? $overview_ads['ads']['title'] : '' ); ?>"></a></div></div>`).insertAfter("#wps-postbox-container-2 #normal-sortables div.postbox:first");
122
  jQuery(document).on('click', '.close-overview-ads', function () {
116
  // Added New Ads
117
  <?php
118
  $overview_ads = get_option( 'wp_statistics_overview_page_ads', false );
119
+ if($overview_ads != false and is_array( $overview_ads ) and $overview_ads['ads']['ID'] != $overview_ads['view'] and $overview_ads['ads']['status'] == "yes" and apply_filters( 'wp_statistics_ads_overview_page_show', true ) === true) {
120
  ?>
121
  jQuery(`<div id="wps_overview_ads_postbox" class="postbox"><div class="inside"><div class="close-overview-ads"><span class="dashicons dashicons-dismiss"></span></div><a href="<?php echo( isset( $overview_ads['ads']['link'] ) ? $overview_ads['ads']['link'] : '' ); ?>" title="<?php echo( isset( $overview_ads['ads']['title'] ) ? $overview_ads['ads']['title'] : '' ); ?>" <?php echo( $overview_ads['ads']['_target'] == "yes" ? ' target="_blank"' : '' ); ?>><img style="display: block;" src="<?php echo( isset( $overview_ads['ads']['image'] ) ? $overview_ads['ads']['image'] : '' ); ?>" alt="<?php echo( isset( $overview_ads['ads']['title'] ) ? $overview_ads['ads']['title'] : '' ); ?>"></a></div></div>`).insertAfter("#wps-postbox-container-2 #normal-sortables div.postbox:first");
122
  jQuery(document).on('click', '.close-overview-ads', function () {
includes/templates/postbox.php CHANGED
@@ -21,6 +21,11 @@
21
  </div>
22
 
23
  <?php
 
 
 
 
 
24
  $response = wp_remote_get( 'https://wp-statistics.com/wp-json/plugin/postbox' );
25
  $response_code = wp_remote_retrieve_response_code( $response );
26
 
21
  </div>
22
 
23
  <?php
24
+ // Check Disable PostBox
25
+ if ( apply_filters( 'wp_statistics_ads_setting_page_show', true ) === false ) {
26
+ return;
27
+ }
28
+
29
  $response = wp_remote_get( 'https://wp-statistics.com/wp-json/plugin/postbox' );
30
  $response_code = wp_remote_retrieve_response_code( $response );
31
 
older-changelog.txt ADDED
@@ -0,0 +1,888 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
@@ -6,7 +6,7 @@ Tags: analytics, wordpress analytics, stats, statistics, visit, visitors, hits,
6
  Requires at least: 3.0
7
  Tested up to: 5.2.1
8
  Requires PHP: 5.6
9
- Stable tag: 12.6.9
10
  License: GPLv3
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
12
 
@@ -127,6 +127,10 @@ 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.9 =
131
  * Fixed: Hit counter issue in some servers that blocking some `XMLHttpRequest` request.
132
  * Improvement REST API.
6
  Requires at least: 3.0
7
  Tested up to: 5.2.1
8
  Requires PHP: 5.6
9
+ Stable tag: 12.6.10
10
  License: GPLv3
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
12
 
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.
133
+
134
  = 12.6.9 =
135
  * Fixed: Hit counter issue in some servers that blocking some `XMLHttpRequest` request.
136
  * Improvement REST API.
wp-statistics.php CHANGED
@@ -3,11 +3,11 @@
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.9
7
  * Author: VeronaLabs
8
  * Author URI: http://veronalabs.com/
9
  * Text Domain: wp-statistics
10
- * Domain Path: /languages/
11
  */
12
 
13
  define( 'WP_STATISTICS_MAIN_FILE', __FILE__ );
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.10
7
  * Author: VeronaLabs
8
  * Author URI: http://veronalabs.com/
9
  * Text Domain: wp-statistics
10
+ * Domain Path: languages
11
  */
12
 
13
  define( 'WP_STATISTICS_MAIN_FILE', __FILE__ );