Version Description
- Bug fixes:
- Fixed number of posts displayed in the popular posts list
Download this release
Release Info
Developer | Ajay |
Plugin | Top 10 – Popular posts plugin for WordPress |
Version | 2.5.3 |
Comparing to | |
See all releases |
Code changes from version 2.5.2 to 2.5.3
- includes/public/display-posts.php +1 -1
- readme.txt +6 -2
- top-10.php +1 -1
includes/public/display-posts.php
CHANGED
@@ -219,7 +219,7 @@ function tptn_pop_posts( $args ) {
|
|
219 |
|
220 |
$counter++;
|
221 |
|
222 |
-
if ( $counter === $args['limit'] ) {
|
223 |
break; // End loop when related posts limit is reached.
|
224 |
}
|
225 |
}
|
219 |
|
220 |
$counter++;
|
221 |
|
222 |
+
if ( $counter === (int) $args['limit'] ) {
|
223 |
break; // End loop when related posts limit is reached.
|
224 |
}
|
225 |
}
|
readme.txt
CHANGED
@@ -165,6 +165,11 @@ add_filter( 'manage_edit-projects_sortable_columns', 'tptn_column_register_sorta
|
|
165 |
|
166 |
== Changelog ==
|
167 |
|
|
|
|
|
|
|
|
|
|
|
168 |
= 2.5.2 =
|
169 |
|
170 |
* Bug fixes:
|
@@ -175,7 +180,6 @@ add_filter( 'manage_edit-projects_sortable_columns', 'tptn_column_register_sorta
|
|
175 |
* Bug fixes:
|
176 |
* Custom CSS did not get upgraded or saved properly
|
177 |
* Uninstalling the plugin will delete the settings properly
|
178 |
-
* Old settings will not be deleted but retained in the database
|
179 |
|
180 |
= 2.5.0 =
|
181 |
|
@@ -243,7 +247,7 @@ For previous changelog entries, please refer to the separate changelog.txt file
|
|
243 |
|
244 |
== Upgrade Notice ==
|
245 |
|
246 |
-
= 2.5.
|
247 |
* Major release! Brand new settings interface so please do verify your settings after the upgrade. Several new features and bug fixes.
|
248 |
Check the Changelog for more details
|
249 |
|
165 |
|
166 |
== Changelog ==
|
167 |
|
168 |
+
= 2.5.3 =
|
169 |
+
|
170 |
+
* Bug fixes:
|
171 |
+
* Fixed number of posts displayed in the popular posts list
|
172 |
+
|
173 |
= 2.5.2 =
|
174 |
|
175 |
* Bug fixes:
|
180 |
* Bug fixes:
|
181 |
* Custom CSS did not get upgraded or saved properly
|
182 |
* Uninstalling the plugin will delete the settings properly
|
|
|
183 |
|
184 |
= 2.5.0 =
|
185 |
|
247 |
|
248 |
== Upgrade Notice ==
|
249 |
|
250 |
+
= 2.5.3 =
|
251 |
* Major release! Brand new settings interface so please do verify your settings after the upgrade. Several new features and bug fixes.
|
252 |
Check the Changelog for more details
|
253 |
|
top-10.php
CHANGED
@@ -14,7 +14,7 @@
|
|
14 |
* Plugin Name: Top 10
|
15 |
* Plugin URI: https://webberzone.com/plugins/top-10/
|
16 |
* Description: Count daily and total visits per post and display the most popular posts based on the number of views
|
17 |
-
* Version: 2.5.
|
18 |
* Author: Ajay D'Souza
|
19 |
* Author URI: https://webberzone.com
|
20 |
* License: GPL-2.0+
|
14 |
* Plugin Name: Top 10
|
15 |
* Plugin URI: https://webberzone.com/plugins/top-10/
|
16 |
* Description: Count daily and total visits per post and display the most popular posts based on the number of views
|
17 |
+
* Version: 2.5.3
|
18 |
* Author: Ajay D'Souza
|
19 |
* Author URI: https://webberzone.com
|
20 |
* License: GPL-2.0+
|