Plugin Directory

Changeset 3270840


Ignore:
Timestamp:
04/11/2025 07:16:20 AM (11 months ago)
Author:
whiletrue
Message:

release 2.5.21

Location:
most-and-least-read-posts-widget
Files:
5 added
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • most-and-least-read-posts-widget/trunk/most_and_least_read_posts.php

    r3170507 r3270840  
    66Author: WhileTrue
    77Text Domain: most-and-least-read-posts-widget
    8 Version: 2.5.20
     8Version: 2.5.21
    99Author URI: https://www.whiletrue.it/
    1010*/
     
    228228    if ($output) {
    229229        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']) : '';
    231231            $hits = ($instance['show_hits']) ? ' (' . number_format((int) $line->meta_value) . $hits_text . ')' : '';
    232232
  • most-and-least-read-posts-widget/trunk/readme.txt

    r3170507 r3270840  
    55Requires at least: 2.9+
    66Requires PHP: 7.0
    7 Tested up to: 6.6
    8 Stable tag: 2.5.20
     7Tested up to: 6.8
     8Stable tag: 2.5.21
    99
    1010Provide two widgets, showing lists of the most and reast read posts.
     
    9797== Changelog ==
    9898
    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
    104102
    105103= 2.5.5 =
     
    114112* Changed: Skip updating hits if user is admin
    115113
    116 = 1.9 =
    117 * Added: option to show hits inside the post content or after the post title
    118 * Added: style customization of hits on widget, through the "most_and_least_read_posts_hits" CSS class
    119 * Added: option to exclude posts older than XX days (default: 365 days)
    120 * Added: Frequently Asked Questions
    121 * Added: archived post hits are now shown in a column inside the backend post list
    122 * Added: php function to retrieve and show hits inside the template loop
    123 * Added: show post thumbs option
    124 * Added: "mlrp_ul" ul class for easy CSS styling
    125 * Added: support for WPML plugin, showing most/least read posts for current language
    126 * Changed: hits on widget put out of the link
    127 
    128114= 1.0.0 =
    129115Initial release
Note: See TracChangeset for help on using the changeset viewer.