Version Description
- Disabled the welcome page.
Download this release
Release Info
Developer | mostafa.s1990 |
Plugin | WP Statistics |
Version | 12.4.2 |
Comparing to | |
See all releases |
Code changes from version 12.4.1 to 12.4.2
- includes/classes/class-wp-statistics-admin.php +1 -14
- includes/classes/class-wp-statistics-welcome.php +3 -0
- readme.txt +50 -131
- wp-statistics.php +1 -1
includes/classes/class-wp-statistics-admin.php
CHANGED
@@ -68,7 +68,7 @@ class WP_Statistics_Admin {
|
|
68 |
|
69 |
// WP-Statistics welcome page hooks
|
70 |
add_action( 'admin_menu', 'WP_Statistics_Welcome::menu' );
|
71 |
-
add_action( 'upgrader_process_complete',
|
72 |
add_action( 'admin_init', 'WP_Statistics_Welcome::init' );
|
73 |
|
74 |
// Initial the Suggestions class
|
@@ -672,17 +672,4 @@ class WP_Statistics_Admin {
|
|
672 |
);
|
673 |
}
|
674 |
}
|
675 |
-
|
676 |
-
/**
|
677 |
-
* Doing something when the WP-Statistics will be upgraded.
|
678 |
-
* @param $upgrader_object
|
679 |
-
* @param $options
|
680 |
-
*/
|
681 |
-
public function upgrade_plugin( $upgrader_object, $options ) {
|
682 |
-
// Update options
|
683 |
-
WP_Statistics_Updates::do_upgrade();
|
684 |
-
|
685 |
-
// Launch the welcome page
|
686 |
-
WP_Statistics_Welcome::do_welcome( $upgrader_object, $options );
|
687 |
-
}
|
688 |
}
|
68 |
|
69 |
// WP-Statistics welcome page hooks
|
70 |
add_action( 'admin_menu', 'WP_Statistics_Welcome::menu' );
|
71 |
+
//add_action( 'upgrader_process_complete', 'WP_Statistics_Welcome::do_welcome', 10, 2 );
|
72 |
add_action( 'admin_init', 'WP_Statistics_Welcome::init' );
|
73 |
|
74 |
// Initial the Suggestions class
|
672 |
);
|
673 |
}
|
674 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
675 |
}
|
includes/classes/class-wp-statistics-welcome.php
CHANGED
@@ -59,6 +59,9 @@ class WP_Statistics_Welcome {
|
|
59 |
|
60 |
// Enable welcome page in database
|
61 |
$WP_Statistics->update_option( 'show_welcome_page', true );
|
|
|
|
|
|
|
62 |
}
|
63 |
}
|
64 |
}
|
59 |
|
60 |
// Enable welcome page in database
|
61 |
$WP_Statistics->update_option( 'show_welcome_page', true );
|
62 |
+
|
63 |
+
// Run the upgrader
|
64 |
+
WP_Statistics_Updates::do_upgrade();
|
65 |
}
|
66 |
}
|
67 |
}
|
readme.txt
CHANGED
@@ -4,74 +4,39 @@ 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: 4.9
|
7 |
-
Stable tag: 12.4.
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
11 |
Complete WordPress Analytics and Statistics for your site!
|
12 |
|
13 |
== Description ==
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
*
|
26 |
-
*
|
27 |
-
*
|
28 |
-
*
|
29 |
-
*
|
30 |
-
*
|
31 |
-
*
|
32 |
-
*
|
33 |
-
*
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
* Dashboard widgets for the admin area
|
41 |
-
* Comprehensive Admin Manual
|
42 |
-
|
43 |
-
|
44 |
-
= Translations =
|
45 |
-
WP Statistics has been translated into many languages, to see the current list and contributors, please visit the [translate page](https://translate.wordpress.org/projects/wp-plugins/wp-statistics).
|
46 |
-
|
47 |
-
Translations are done by people just like you, so help to make WP Statistics available to more people around the world and [do a translation](https://wp-statistics.com/translations/) today!
|
48 |
-
|
49 |
-
= Contributing And Reporting Bugs =
|
50 |
-
WP-Statistics is being developed on GitHub, If you’re interested in contributing to the plugin, please look at [Github page](https://github.com/wp-statistics/wp-statistics)
|
51 |
-
|
52 |
-
= Support =
|
53 |
-
We do our best that you don’t face any problem with WP Statistics. In case of having any problem, we’re happy to help. Please consider a few things to do before contacting us:
|
54 |
-
|
55 |
-
* Have you read the [FAQs](https://wordpress.org/plugins/wp-statistics/faq/)?
|
56 |
-
* Have you read the [documentation](http://wp-statistics.com/category/documentation)?
|
57 |
-
* Have you searched the [support forum](https://wordpress.org/support/plugin/wp-statistics) for a similar issue?
|
58 |
-
* Have you searched the Internet for any error messages you are receiving?
|
59 |
-
* Make sure you have access to your PHP error logs.
|
60 |
-
|
61 |
-
And a few things to double check:
|
62 |
-
|
63 |
-
* How’s your memory_limit in php.ini?
|
64 |
-
* Have you disabled any other plugins you may have installed?
|
65 |
-
* Have you used the default WordPress theme?
|
66 |
-
* Have you double checked the plugin settings?
|
67 |
-
* Do you have all the required PHP extensions installed?
|
68 |
-
* Are you getting a blank or incomplete page displaying in your browser? Have you viewed the source for the page and check for any fatal errors?
|
69 |
-
* Have you checked your PHP and web server error logs?
|
70 |
-
|
71 |
-
|
72 |
-
Still not having any luck? Open a new thread on one of the support forums and we’ll answer you as soon as possible.
|
73 |
-
|
74 |
-
* [English Support Forum](https://wordpress.org/support/plugin/wp-statistics)
|
75 |
|
76 |
== Installation ==
|
77 |
1. Upload `wp-statistics` to the `/wp-content/plugins/` directory.
|
@@ -80,85 +45,44 @@ Still not having any luck? Open a new thread on one of the support forums and we
|
|
80 |
4. Go to the plugin settings page and configure as required (note this will also include downloading the GeoIP database for the first time).
|
81 |
|
82 |
== Frequently Asked Questions ==
|
83 |
-
=
|
84 |
-
|
85 |
-
|
86 |
-
= Are All visitors’ locations set to ‘unknown’? =
|
87 |
-
Make sure you’ve downloaded the GeoIP database and the GeoIP code is enabled.
|
88 |
-
|
89 |
-
Also, if you are running an internal test site with non-routable IP addresses (like 192.168.x.x or 172.28.x.x or 10.x.x.x), these addresses will be always shown as ‘unknown’. You can define a location IP for these IP addresses in the “Country code for private IP addresses” setting.
|
90 |
-
|
91 |
-
= Although GeoIP is enabled, no hits are being counted, why? =
|
92 |
-
The GeoIP code requires two things to function: PHP v5.3 or above, the cURL extension. All of these requirements are checked but additional items may be required. Check your PHP log files and see if there are any fatal errors listed.
|
93 |
-
|
94 |
-
= How much memory does PHP Statistics require? =
|
95 |
-
This depends on how many hits your site gets. The data collection code is very light weighted. However, the reporting and statistics codes can take a lot of memory to process. The more data you collect, the more memory you will need to process it. At a bare minimum, a basic WordPress site with WP Statistics should have at least 32 MB of RAM available for a page load. Sites with lots of plugins and high traffics should think of increasing their memory significantly (128 to 256 MB is not too much).
|
96 |
-
|
97 |
-
= I’ve enabled IP subnet exclusions and now no visitors are recorded. =
|
98 |
-
Be very careful to set the subnet mask on the subnet list correctly. It is very easy to catch too much traffic. Likewise, if you are excluding a single IP address, make sure to include a subnet mask of 32 or 255.255.255.255; otherwise you may not get the expected results.
|
99 |
-
|
100 |
-
= I don’t receive email reports =
|
101 |
-
Make sure you have WordPress configured correctly for SMTP and also check whether your WP Cron is working properly. You can use [Cron View](https://wordpress.org/plugins/cron-view) to examine your WP Cron table and see if there are any issues.
|
102 |
|
103 |
= Does WP Statistics support Multisite? =
|
104 |
WP Statistics doesn’t officially support the multisite feature; however, it does have limited functionally associated with it and should function without any issue. However, no support is provided at this time.
|
105 |
Version 8.8 is the first release that can be installed, upgraded and removed correctly on multi-site. It also has some basic support for the network admin menu. This should not be taken as an indication that WP Statistics fully supports the multisite, but only should be considered as a very first step.
|
106 |
|
107 |
-
= Does WP Statistics
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
Probably, each plugin/service is going to give you different statistics on visits and visitors; there are several reasons for this:
|
112 |
-
|
113 |
-
* Web crawler detections
|
114 |
-
* Detection methods (Javascript vs. Server Side PHP)
|
115 |
-
* Centralized exclusions
|
116 |
-
|
117 |
-
Services that use centralized databases for spam and robot detections , such as Google Analytics, have better detection than WP Statistics.
|
118 |
-
|
119 |
-
= The search words and search engine referrals are zero or very low, what’s wrong? =
|
120 |
-
Search Engine Referrals and Words are highly dependent on the search engine providing the information to us and that often is not the case. Unfortunately, there is nothing we can do about this, we report everything we receive.
|
121 |
-
|
122 |
-
= Why did my visits suddenly jump way up today? =
|
123 |
-
There can be many reasons for this, but the most common reason is that a botnet has decided to visit your site and we have been unable to filter it out. You usually see your visits spike for a few days and then they fade away.
|
124 |
|
125 |
= What’s the difference between Visits and Visitors? =
|
126 |
Visits is the number of page hits your site has received.
|
127 |
-
|
128 |
Visitors is the number of unique users which have visited your site.
|
129 |
-
|
130 |
Visits should always be greater than Visitors (though, there are a few cases when this won’t be true due to having low visits).
|
131 |
-
|
132 |
The average number of pages a visitor views on your site is Visits/Visitors.
|
133 |
|
134 |
-
=
|
135 |
-
|
136 |
-
|
137 |
-
The most common fatal error is an out of memory error. Check the Statistics > Optimization page and see how much memory is currently assigned to PHP.
|
138 |
-
|
139 |
-
If it is a memory issue, you have two choices:
|
140 |
|
141 |
-
|
142 |
-
|
143 |
|
144 |
-
|
|
|
|
|
145 |
|
146 |
-
|
147 |
|
148 |
= Not all referrals are showing up in the search words list, why? =
|
149 |
-
|
150 |
-
|
151 |
-
= Does WP Statistics work with caching plugins? =
|
152 |
-
Probably not. Most caching plugins don’t execute the standard WordPress loop for a page it has already cached (by design of course) which means the WP Statistics code never runs for that page.
|
153 |
-
|
154 |
-
This means WP Statistics can’t record the page hit or visitor’s information, which is against the purpose of WP Statistics.
|
155 |
-
|
156 |
-
We don’t recommend using a caching plugin with WP Statistics.
|
157 |
|
158 |
= PHP 7 Support? =
|
159 |
-
WP Statistics is PHP 7 compliant; however, some versions of PHP 7 have bugs that can cause issues. One known issue is
|
160 |
-
|
161 |
-
At this time (Jun 2018) WP Statistics seems to run fine with PHP 7.2.6. But you may experience issues that we haven’t found yet. If you do, feel free to report it after you make sure it is not a problem with PHP.
|
162 |
|
163 |
= IPv6 Support? =
|
164 |
WP Statistics supports IPv6 as of version 11.0; however, PHP must be compiled with IPv6 support enabled; otherwise you may see warnings when a visitor from an IPv6 address hits your site.
|
@@ -169,14 +93,6 @@ If IPv6 is not enabled, you may see an warning like:
|
|
169 |
|
170 |
Warning: inet_pton() [function.inet-pton]: Unrecognized address 2003:0006:1507:5d71:6114:d8bd:80c2:1090
|
171 |
|
172 |
-
= GDPR Support? =
|
173 |
-
The greatest advantage of WP Statistics is that all the data is saved locally in WordPress.
|
174 |
-
|
175 |
-
This helps a lot while implementing the new GDPR restrictions; because it’s not necessary to create a data processing contract with an external company!
|
176 |
-
|
177 |
-
Coming up popup with “Accept” and “Deny” before collection data and Hash IP addresses is a useful option on the WP-Statistics
|
178 |
-
|
179 |
-
|
180 |
== Screenshots ==
|
181 |
1. Overview
|
182 |
2. Browsers Statistics
|
@@ -196,6 +112,9 @@ We implement GDPR into the WP-Statistics. for more information read [the blog po
|
|
196 |
Important: with this update, Opt-out feature is removed.
|
197 |
|
198 |
== Changelog ==
|
|
|
|
|
|
|
199 |
= 12.4.1 =
|
200 |
* Implemented the `do_welcome()` function.
|
201 |
* Updated Libraries to latest version.
|
@@ -211,7 +130,7 @@ Important: with this update, Opt-out feature is removed.
|
|
211 |
* Improvement Counting non-changing collections with `count()`. Thanks [Daniel Ruf](https://github.com/DanielRuf)
|
212 |
|
213 |
= 12.3.6.3 =
|
214 |
-
*
|
215 |
|
216 |
= 12.3.6.2 =
|
217 |
* Tested with PHP v7.2.4
|
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: 4.9
|
7 |
+
Stable tag: 12.4.2
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
11 |
Complete WordPress Analytics and Statistics for your site!
|
12 |
|
13 |
== Description ==
|
14 |
+
= WP statistics: THE #1 WORDPRESS STATISTICS PLUGIN =
|
15 |
+
Do you need a simple tool to know your website statistics? Do you need to represent these statistics? Are you caring about your users’ privacy while analyzing who are interested in your business or website? With WP Statistics you can know your website statistics without any need to send your users’ data anywhere. You can know how many people visit your personal or business website, where they’re coming from, what browsers and search engines they use, and which of your contents, categories, tags and users get more visits.
|
16 |
+
|
17 |
+
All these data are recorded in your server, and YES! WP Statistics is [GDPR compliant](http://bit.ly/2x0AFgT).
|
18 |
+
|
19 |
+
= ACT BETTER BY KNOWING WHAT YOUR USERS ARE LOOKING FOR =
|
20 |
+
* Visitor Data Records including IP, Referring Site, Browser, Search Engine, OS, and Country
|
21 |
+
* Stunning Graphs and Visual Statistics
|
22 |
+
* Visitor’s Country Recognition
|
23 |
+
* The number of Visitors coming from each Search Engine
|
24 |
+
* The number of Referrals from each Referring Site
|
25 |
+
* Top 10 common browsers; Top 10 countries with most visitors; Top 10 most-visited pages; Top 10 referring sites
|
26 |
+
* Hits Time-Based Filtering
|
27 |
+
* Statistics on Contents based on Categories, Tags, and Writers
|
28 |
+
* Widget Support for showing Statistics
|
29 |
+
* Data Export in TSV, XML, and CSV formats
|
30 |
+
* Statistical Reporting Emails
|
31 |
+
* [Premium] [Real-time stats](http://bit.ly/2Mj4Nss)
|
32 |
+
* [Premium] [More Advanced reporting](http://bit.ly/2MjZE3l)
|
33 |
+
* And much more information represented in graphs & charts along with data filtering
|
34 |
+
|
35 |
+
= NOTE =
|
36 |
+
Some advanced features are Premium, which means you need to buy extra add-ons to unlock those features. You can get [Premium add-ons](http://bit.ly/2x6tGly) here!
|
37 |
+
|
38 |
+
= REPORT BUGS =
|
39 |
+
If you encounter any bug, please create an issue on [Github](https://github.com/wp-statistics/wp-statistics/issues/new) where we can act upon them more efficiently. Since [Github](https://github.com/wp-statistics/wp-statistics) is not a support forum, just bugs are welcomed, and any other request will be closed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
|
41 |
== Installation ==
|
42 |
1. Upload `wp-statistics` to the `/wp-content/plugins/` directory.
|
45 |
4. Go to the plugin settings page and configure as required (note this will also include downloading the GeoIP database for the first time).
|
46 |
|
47 |
== Frequently Asked Questions ==
|
48 |
+
= GDPR Compliant? =
|
49 |
+
The greatest advantage of WP Statistics is that all the data is saved locally in WordPress.
|
50 |
+
This helps a lot while implementing the new GDPR restrictions; because it’s not necessary to create a data processing contract with an external company! [Read more about WP Statistics compliance with GDPR](http://bit.ly/2x0AFgT).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
|
52 |
= Does WP Statistics support Multisite? =
|
53 |
WP Statistics doesn’t officially support the multisite feature; however, it does have limited functionally associated with it and should function without any issue. However, no support is provided at this time.
|
54 |
Version 8.8 is the first release that can be installed, upgraded and removed correctly on multi-site. It also has some basic support for the network admin menu. This should not be taken as an indication that WP Statistics fully supports the multisite, but only should be considered as a very first step.
|
55 |
|
56 |
+
= Does WP Statistics work with caching plugins? =
|
57 |
+
Probably not. Most caching plugins don’t execute the standard WordPress loop for a page it has already cached (by design of course) which means the WP Statistics code never runs for that page.
|
58 |
+
This means WP Statistics can’t record the page hit or visitor’s information, which is against the purpose of WP Statistics.
|
59 |
+
We don’t recommend using a caching plugin with WP Statistics.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
|
61 |
= What’s the difference between Visits and Visitors? =
|
62 |
Visits is the number of page hits your site has received.
|
|
|
63 |
Visitors is the number of unique users which have visited your site.
|
|
|
64 |
Visits should always be greater than Visitors (though, there are a few cases when this won’t be true due to having low visits).
|
|
|
65 |
The average number of pages a visitor views on your site is Visits/Visitors.
|
66 |
|
67 |
+
= Are All visitors’ locations set to ‘unknown’? =
|
68 |
+
Make sure you’ve downloaded the GeoIP database and the GeoIP code is enabled.
|
69 |
+
Also, if you are running an internal test site with non-routable IP addresses (like 192.168.x.x or 172.28.x.x or 10.x.x.x), these addresses will be always shown as ‘unknown’. You can define a location IP for these IP addresses in the “Country code for private IP addresses” setting.
|
|
|
|
|
|
|
70 |
|
71 |
+
= I’m using another statistics plugin/service and get different numbers from them, why? =
|
72 |
+
Probably, each plugin/service is going to give you different statistics on visits and visitors; there are several reasons for this:
|
73 |
|
74 |
+
* Web crawler detections
|
75 |
+
* Detection methods (Javascript vs. Server Side PHP)
|
76 |
+
* Centralized exclusions
|
77 |
|
78 |
+
Services that use centralized databases for spam and robot detections , such as Google Analytics, have better detection than WP Statistics.
|
79 |
|
80 |
= Not all referrals are showing up in the search words list, why? =
|
81 |
+
Search Engine Referrals and Words are highly dependent on the search engines providing the information to us. Unfortunately, we can’t do anything about it; we report everything we receive.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
|
83 |
= PHP 7 Support? =
|
84 |
+
WP Statistics is PHP 7 compliant; however, some versions of PHP 7 have bugs that can cause issues. One known issue is that PHP 7.0.4 cause memory exhaustion errors. Newer versions of PHP 7 do not have this issue.
|
85 |
+
At this time (September, 2018) WP Statistics seems to run fine with PHP 7.2.6. But you may experience issues that we haven’t found yet. If you do, feel free to report it after you make sure it is not a problem with PHP.
|
|
|
86 |
|
87 |
= IPv6 Support? =
|
88 |
WP Statistics supports IPv6 as of version 11.0; however, PHP must be compiled with IPv6 support enabled; otherwise you may see warnings when a visitor from an IPv6 address hits your site.
|
93 |
|
94 |
Warning: inet_pton() [function.inet-pton]: Unrecognized address 2003:0006:1507:5d71:6114:d8bd:80c2:1090
|
95 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
== Screenshots ==
|
97 |
1. Overview
|
98 |
2. Browsers Statistics
|
112 |
Important: with this update, Opt-out feature is removed.
|
113 |
|
114 |
== Changelog ==
|
115 |
+
= 12.4.2 =
|
116 |
+
* Disabled the welcome page.
|
117 |
+
|
118 |
= 12.4.1 =
|
119 |
* Implemented the `do_welcome()` function.
|
120 |
* Updated Libraries to latest version.
|
130 |
* Improvement Counting non-changing collections with `count()`. Thanks [Daniel Ruf](https://github.com/DanielRuf)
|
131 |
|
132 |
= 12.3.6.3 =
|
133 |
+
* Disabled the suggestion notice.
|
134 |
|
135 |
= 12.3.6.2 =
|
136 |
* Tested with PHP v7.2.4
|
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.4.
|
7 |
* Author: Verona Labs
|
8 |
* Author URI: http://veronalabs.com/
|
9 |
*
|
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.4.2
|
7 |
* Author: Verona Labs
|
8 |
* Author URI: http://veronalabs.com/
|
9 |
*
|