WP Statistics - Version 13.2.1

Version Description

= 13.0 = IMPORTANT NOTE Welcome to WP-Statistics v13.0, our biggest update! Thank you for being part of our community. Weve been working hard for one year to develop this version and make WP-Statistics better for you. Before updating, make sure you disabled all your add-ons, then after that, try to update add-ons.

If you encounter any bug, please create an issue on GitHub where we can act upon them more efficiently. Since GitHub is not a support forum, just bugs are welcomed, and any other request will be closed.

Download this release

Release Info

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

Code changes from version 13.2.0 to 13.2.1

includes/admin/class-wp-statistics-admin-network.php CHANGED
@@ -83,9 +83,9 @@ class Network
83
  }
84
  ?>
85
 
86
- <tr<?php echo $alternate; ?>>
87
  <td style='text-align: left'>
88
- <?php echo $details->blogname; ?>
89
  </td>
90
  <td style='text-align: left'>
91
  <?php
@@ -93,7 +93,7 @@ class Network
93
  $j = 0;
94
 
95
  foreach ($options as $key => $value) {
96
- echo '<a href="' . $url . $value . '">' . $key . '</a>';
97
  $j++;
98
  if ($j < $options_len) {
99
  echo ' - ';
83
  }
84
  ?>
85
 
86
+ <tr<?php echo esc_attr($alternate); ?>>
87
  <td style='text-align: left'>
88
+ <?php echo esc_attr($details->blogname); ?>
89
  </td>
90
  <td style='text-align: left'>
91
  <?php
93
  $j = 0;
94
 
95
  foreach ($options as $key => $value) {
96
+ echo '<a href="' . esc_url($url . $value) . '">' . esc_attr($key) . '</a>';
97
  $j++;
98
  if ($j < $options_len) {
99
  echo ' - ';
includes/admin/class-wp-statistics-admin-post.php CHANGED
@@ -78,7 +78,7 @@ class Admin_Post
78
  $preview_chart_unlock_html = sprintf('<div class="wps-admin-column__unlock"><a href="%s" target="_blank"><span>%s</span><img src="%s"/></a></div>',
79
  'https://wp-statistics.com/product/wp-statistics-mini-chart?utm_source=wp_statistics&utm_medium=display&utm_campaign=wordpress',
80
  __('Unlock!', 'wp-statistics'),
81
- WP_STATISTICS_URL . 'assets/images/mini-chart-posts-preview.png',
82
  );
83
 
84
  echo apply_filters("wp_statistics_before_hit_column_{$post_type}", $preview_chart_unlock_html, $post_id, $post_type);
78
  $preview_chart_unlock_html = sprintf('<div class="wps-admin-column__unlock"><a href="%s" target="_blank"><span>%s</span><img src="%s"/></a></div>',
79
  'https://wp-statistics.com/product/wp-statistics-mini-chart?utm_source=wp_statistics&utm_medium=display&utm_campaign=wordpress',
80
  __('Unlock!', 'wp-statistics'),
81
+ WP_STATISTICS_URL . 'assets/images/mini-chart-posts-preview.png'
82
  );
83
 
84
  echo apply_filters("wp_statistics_before_hit_column_{$post_type}", $preview_chart_unlock_html, $post_id, $post_type);
includes/admin/class-wp-statistics-admin-taxonomy.php CHANGED
@@ -82,7 +82,7 @@ class Admin_Taxonomy
82
  $preview_chart_unlock_html = sprintf('<div class="wps-admin-column__unlock"><a href="%s" target="_blank"><span>%s</span><img src="%s"/></a></div>',
83
  'https://wp-statistics.com/product/wp-statistics-mini-chart?utm_source=wp_statistics&utm_medium=display&utm_campaign=wordpress',
84
  __('Unlock!', 'wp-statistics'),
85
- WP_STATISTICS_URL . 'assets/images/mini-chart-posts-preview.png',
86
  );
87
 
88
  $value = apply_filters("wp_statistics_before_hit_column", $preview_chart_unlock_html, $term_id, $term->taxonomy);
82
  $preview_chart_unlock_html = sprintf('<div class="wps-admin-column__unlock"><a href="%s" target="_blank"><span>%s</span><img src="%s"/></a></div>',
83
  'https://wp-statistics.com/product/wp-statistics-mini-chart?utm_source=wp_statistics&utm_medium=display&utm_campaign=wordpress',
84
  __('Unlock!', 'wp-statistics'),
85
+ WP_STATISTICS_URL . 'assets/images/mini-chart-posts-preview.png'
86
  );
87
 
88
  $value = apply_filters("wp_statistics_before_hit_column", $preview_chart_unlock_html, $term_id, $term->taxonomy);
includes/admin/templates/email.php CHANGED
@@ -3,7 +3,7 @@
3
  <head>
4
  <meta name="viewport" content="width=device-width"/>
5
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
6
- <title><?php echo $title; ?></title>
7
  <style>
8
  /* -------------------------------------
9
  GLOBAL RESETS
3
  <head>
4
  <meta name="viewport" content="width=device-width"/>
5
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
6
+ <title><?php echo esc_attr($title); ?></title>
7
  <style>
8
  /* -------------------------------------
9
  GLOBAL RESETS
includes/class-wp-statistics-admin-bar.php CHANGED
@@ -104,7 +104,7 @@ class AdminBar
104
  'parent' => 'wp-statistic-menu',
105
  'title' => sprintf('<img src="%s"/><span class="wps-admin-bar__chart__unlock-button">%s</span>',
106
  WP_STATISTICS_URL . 'assets/images/mini-chart-admin-bar-preview.png',
107
- __('Unlock Mini Chart!', 'wp-statistics'),
108
  ),
109
  'href' => 'https://wp-statistics.com/product/wp-statistics-mini-chart?utm_source=wp_statistics&utm_medium=display&utm_campaign=wordpress',
110
  'meta' => [
104
  'parent' => 'wp-statistic-menu',
105
  'title' => sprintf('<img src="%s"/><span class="wps-admin-bar__chart__unlock-button">%s</span>',
106
  WP_STATISTICS_URL . 'assets/images/mini-chart-admin-bar-preview.png',
107
+ __('Unlock Mini Chart!', 'wp-statistics')
108
  ),
109
  'href' => 'https://wp-statistics.com/product/wp-statistics-mini-chart?utm_source=wp_statistics&utm_medium=display&utm_campaign=wordpress',
110
  'meta' => [
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://wp-statistics.com/donate/
4
  Tags: analytics, wordpress analytics, stats, statistics, visit, visitors, hits, chart, browser, today, yesterday, week, month, year, total, post, page, sidebar, google, live visit, search word, agent, google analytics, webmasters, google webmasters, geoip, location
5
  Requires at least: 3.0
6
  Tested up to: 5.9
7
- Stable tag: 13.2.0
8
  Requires PHP: 5.6
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -126,6 +126,9 @@ Before updating, make sure you disabled all your add-ons, then after that, try t
126
  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.
127
 
128
  == Changelog ==
 
 
 
129
  = v13.2.0 - 25.04.2022 =
130
  * Enhancement: The admin bar statistical is smarter and shows the Hits based on the current page, category, tag, author, etc.
131
  * Enhancement: The number of page hits in the render hit column has been improvement
4
  Tags: analytics, wordpress analytics, stats, statistics, visit, visitors, hits, chart, browser, today, yesterday, week, month, year, total, post, page, sidebar, google, live visit, search word, agent, google analytics, webmasters, google webmasters, geoip, location
5
  Requires at least: 3.0
6
  Tested up to: 5.9
7
+ Stable tag: 13.2.1
8
  Requires PHP: 5.6
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
126
  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.
127
 
128
  == Changelog ==
129
+ = v13.2.1 - 25.04.2022 =
130
+ * Bugfix: Compatibility with PHP version lower than v7.4
131
+
132
  = v13.2.0 - 25.04.2022 =
133
  * Enhancement: The admin bar statistical is smarter and shows the Hits based on the current page, category, tag, author, etc.
134
  * Enhancement: The number of page hits in the render hit column has been improvement
wp-statistics.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WP Statistics
4
  * Plugin URI: https://wp-statistics.com/
5
  * Description: This plugin gives you the complete information on your website's visitors.
6
- * Version: 13.2.0
7
  * Author: VeronaLabs
8
  * Author URI: https://veronalabs.com/
9
  * Text Domain: wp-statistics
3
  * Plugin Name: WP Statistics
4
  * Plugin URI: https://wp-statistics.com/
5
  * Description: This plugin gives you the complete information on your website's visitors.
6
+ * Version: 13.2.1
7
  * Author: VeronaLabs
8
  * Author URI: https://veronalabs.com/
9
  * Text Domain: wp-statistics