Top 10 – Popular posts plugin for WordPress - Version 1.9.4

Version Description

  • IMPORTANT security update: Fixed possible XSS vulnerability; bug fixes

=

Download this release

Release Info

Developer Ajay
Plugin Icon 128x128 Top 10 – Popular posts plugin for WordPress
Version 1.9.4
Comparing to
See all releases

Code changes from version 1.9.3 to 1.9.4

Files changed (2) hide show
  1. readme.txt +5 -1
  2. top-10.php +4 -4
readme.txt CHANGED
@@ -45,12 +45,16 @@ Includes a sidebar widget to display the popular posts. And, all settings can be
45
 
46
  == Upgrade Notice ==
47
 
48
- = 1.9.3 =
49
  * IMPORTANT security update: Fixed possible XSS vulnerability; bug fixes
50
 
51
 
52
  == Changelog ==
53
 
 
 
 
 
54
  = 1.9.3 =
55
  * Important security update: Fixed possible XSS vulnerability
56
  * Fixed: Exclude categories was not excluding posts correctly
45
 
46
  == Upgrade Notice ==
47
 
48
+ = 1.9.4 =
49
  * IMPORTANT security update: Fixed possible XSS vulnerability; bug fixes
50
 
51
 
52
  == Changelog ==
53
 
54
+ = 1.9.4 =
55
+ * Fixes a bug in the widget introduces in 1.9.3
56
+
57
+
58
  = 1.9.3 =
59
  * Important security update: Fixed possible XSS vulnerability
60
  * Fixed: Exclude categories was not excluding posts correctly
top-10.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Top 10
4
- Version: 1.9.3
5
  Plugin URI: http://ajaydsouza.com/wordpress/plugins/top-10/
6
  Description: Count daily and total visits per post and display the most popular posts based on the number of views. Based on the plugin by <a href="http://weblogtoolscollection.com">Mark Ghosh</a>
7
  Author: Ajay D'Souza
@@ -235,9 +235,9 @@ function get_tptn_pop_posts( $daily = false , $widget = false, $limit = '10', $s
235
  }
236
  } else {
237
  if (!$daily) {
238
- $output .= '<div class="tptn_posts">'.$tptn_settings['title'];
239
  } else {
240
- $output .= '<div class="tptn_posts_daily">'.$tptn_settings['title_daily'];
241
  }
242
  }
243
 
@@ -283,7 +283,7 @@ function get_tptn_pop_posts( $daily = false , $widget = false, $limit = '10', $s
283
  } else {
284
  $output .= ($tptn_settings['blank_output']) ? '' : $tptn_settings['blank_output_text'];
285
  }
286
- if (!$widget) $output .= '</div>';
287
 
288
  return $output;
289
  }
1
  <?php
2
  /*
3
  Plugin Name: Top 10
4
+ Version: 1.9.4
5
  Plugin URI: http://ajaydsouza.com/wordpress/plugins/top-10/
6
  Description: Count daily and total visits per post and display the most popular posts based on the number of views. Based on the plugin by <a href="http://weblogtoolscollection.com">Mark Ghosh</a>
7
  Author: Ajay D'Souza
235
  }
236
  } else {
237
  if (!$daily) {
238
+ $output .= '<div class="tptn_posts">';
239
  } else {
240
+ $output .= '<div class="tptn_posts_daily">';
241
  }
242
  }
243
 
283
  } else {
284
  $output .= ($tptn_settings['blank_output']) ? '' : $tptn_settings['blank_output_text'];
285
  }
286
+ $output .= '</div>';
287
 
288
  return $output;
289
  }