Changeset 3270840
- Timestamp:
- 04/11/2025 07:16:20 AM (11 months ago)
- Location:
- most-and-least-read-posts-widget
- Files:
-
- 5 added
- 2 deleted
- 2 edited
-
tags/1.9 (deleted)
-
tags/2.5.20 (deleted)
-
tags/2.5.21 (added)
-
tags/2.5.21/index.php (added)
-
tags/2.5.21/most_and_least_read_posts.php (added)
-
tags/2.5.21/readme.txt (added)
-
tags/2.5.21/uninstall.php (added)
-
trunk/most_and_least_read_posts.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
most-and-least-read-posts-widget/trunk/most_and_least_read_posts.php
r3170507 r3270840 6 6 Author: WhileTrue 7 7 Text Domain: most-and-least-read-posts-widget 8 Version: 2.5.2 08 Version: 2.5.21 9 9 Author URI: https://www.whiletrue.it/ 10 10 */ … … 228 228 if ($output) { 229 229 foreach ($output as $line) { 230 $hits_text = (($instance['show_hits_text'] ?? '') != '') ? ' ' . $instance['show_hits_text']: '';230 $hits_text = (($instance['show_hits_text'] ?? '') != '') ? ' ' . esc_attr($instance['show_hits_text']) : ''; 231 231 $hits = ($instance['show_hits']) ? ' (' . number_format((int) $line->meta_value) . $hits_text . ')' : ''; 232 232 -
most-and-least-read-posts-widget/trunk/readme.txt
r3170507 r3270840 5 5 Requires at least: 2.9+ 6 6 Requires PHP: 7.0 7 Tested up to: 6. 68 Stable tag: 2.5.2 07 Tested up to: 6.8 8 Stable tag: 2.5.21 9 9 10 10 Provide two widgets, showing lists of the most and reast read posts. … … 97 97 == Changelog == 98 98 99 = 2.5.20 = 100 * Plugin tested up WordPress 6.6 101 * Fixed: SQL injection 102 * Fixed: CSS injection 103 * Fixed: PHP warnings 99 = 2.5.21 = 100 * Plugin tested up WordPress 6.8 101 * Fixed: XSS vulnerability 104 102 105 103 = 2.5.5 = … … 114 112 * Changed: Skip updating hits if user is admin 115 113 116 = 1.9 =117 * Added: option to show hits inside the post content or after the post title118 * Added: style customization of hits on widget, through the "most_and_least_read_posts_hits" CSS class119 * Added: option to exclude posts older than XX days (default: 365 days)120 * Added: Frequently Asked Questions121 * Added: archived post hits are now shown in a column inside the backend post list122 * Added: php function to retrieve and show hits inside the template loop123 * Added: show post thumbs option124 * Added: "mlrp_ul" ul class for easy CSS styling125 * Added: support for WPML plugin, showing most/least read posts for current language126 * Changed: hits on widget put out of the link127 128 114 = 1.0.0 = 129 115 Initial release
Note: See TracChangeset
for help on using the changeset viewer.