Version Description
- Fixes issue with Stats dashboard not loading for Linux users (thanks agbuere!)
Download this release
Release Info
Developer | hcabrera |
Plugin | WordPress Popular Posts |
Version | 6.0.2 |
Comparing to | |
See all releases |
Code changes from version 6.0.1 to 6.0.2
- assets/js/vendor/{Chart.min.js → chart.3.8.0.min.js} +0 -0
- readme.txt +5 -1
- src/Admin/Admin.php +1 -1
- wordpress-popular-posts.php +2 -2
assets/js/vendor/{Chart.min.js → chart.3.8.0.min.js}
RENAMED
File without changes
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: popular, posts, widget, popularity, top
|
|
5 |
Requires at least: 5.3
|
6 |
Tested up to: 6.0
|
7 |
Requires PHP: 7.2
|
8 |
-
Stable tag: 6.0.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -109,6 +109,10 @@ The FAQ section has been moved [here](https://github.com/cabrerahector/wordpress
|
|
109 |
|
110 |
== Changelog ==
|
111 |
|
|
|
|
|
|
|
|
|
112 |
= 6.0.1 =
|
113 |
|
114 |
- Security improvements.
|
5 |
Requires at least: 5.3
|
6 |
Tested up to: 6.0
|
7 |
Requires PHP: 7.2
|
8 |
+
Stable tag: 6.0.2
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
109 |
|
110 |
== Changelog ==
|
111 |
|
112 |
+
= 6.0.2 =
|
113 |
+
|
114 |
+
- Fixes issue with Stats dashboard not loading for Linux users (thanks agbuere!)
|
115 |
+
|
116 |
= 6.0.1 =
|
117 |
|
118 |
- Security improvements.
|
src/Admin/Admin.php
CHANGED
@@ -509,7 +509,7 @@ class Admin {
|
|
509 |
|
510 |
wp_enqueue_media();
|
511 |
wp_enqueue_script('jquery-ui-datepicker');
|
512 |
-
wp_enqueue_script('chartjs', plugin_dir_url(dirname(dirname(__FILE__))) . 'assets/js/vendor/chart.min.js', [], WPP_VERSION);
|
513 |
|
514 |
wp_register_script('wpp-chart', plugin_dir_url(dirname(dirname(__FILE__))) . 'assets/js/chart.js', ['chartjs'], WPP_VERSION);
|
515 |
wp_localize_script('wpp-chart', 'wpp_chart_params', [
|
509 |
|
510 |
wp_enqueue_media();
|
511 |
wp_enqueue_script('jquery-ui-datepicker');
|
512 |
+
wp_enqueue_script('chartjs', plugin_dir_url(dirname(dirname(__FILE__))) . 'assets/js/vendor/chart.3.8.0.min.js', [], WPP_VERSION);
|
513 |
|
514 |
wp_register_script('wpp-chart', plugin_dir_url(dirname(dirname(__FILE__))) . 'assets/js/chart.js', ['chartjs'], WPP_VERSION);
|
515 |
wp_localize_script('wpp-chart', 'wpp_chart_params', [
|
wordpress-popular-posts.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* Plugin Name: WordPress Popular Posts
|
17 |
* Plugin URI: https://wordpress.org/plugins/wordpress-popular-posts/
|
18 |
* Description: A highly customizable widget that displays the most popular posts on your blog.
|
19 |
-
* Version: 6.0.
|
20 |
* Requires at least: 5.3
|
21 |
* Requires PHP: 7.2
|
22 |
* Author: Hector Cabrera
|
@@ -31,7 +31,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
31 |
die();
|
32 |
}
|
33 |
|
34 |
-
define('WPP_VERSION', '6.0.
|
35 |
|
36 |
$wpp_main_plugin_file = __FILE__;
|
37 |
// Load plugin bootstrap
|
16 |
* Plugin Name: WordPress Popular Posts
|
17 |
* Plugin URI: https://wordpress.org/plugins/wordpress-popular-posts/
|
18 |
* Description: A highly customizable widget that displays the most popular posts on your blog.
|
19 |
+
* Version: 6.0.2
|
20 |
* Requires at least: 5.3
|
21 |
* Requires PHP: 7.2
|
22 |
* Author: Hector Cabrera
|
31 |
die();
|
32 |
}
|
33 |
|
34 |
+
define('WPP_VERSION', '6.0.2');
|
35 |
|
36 |
$wpp_main_plugin_file = __FILE__;
|
37 |
// Load plugin bootstrap
|