Plugin Directory

Changeset 3172472


Ignore:
Timestamp:
10/20/2024 07:12:22 PM (18 months ago)
Author:
vladimir.s
Message:

Terms descriptions v.3.4.7. Bug fixes: reflected XSS vulnerability fixed. Wordpress 6.6.2 support

Location:
terms-descriptions/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • terms-descriptions/trunk/includes/td_admin_terms.php

    r2935936 r3172472  
    521521        $total_pages = ceil( $terms_count / $terms_per_page );
    522522
    523         $first_page_link = add_query_arg( 'term_page', false );
     523        $first_page_link = esc_url( add_query_arg( 'term_page', false ) );
    524524
    525525        $prev_disabled = '';
    526526        if ( $cur_page <= 1 ) {
    527             $prev_page_link = add_query_arg( 'term_page', false );
     527            $prev_page_link = esc_url( add_query_arg( 'term_page', false ) );
    528528            $prev_disabled = ' disabled';
    529529        }
    530530        else {
    531             $prev_page_link = add_query_arg( 'term_page', $cur_page - 1 );
    532         }
    533 
    534         $last_page_link = add_query_arg( 'term_page', $total_pages );
     531            $prev_page_link = esc_url( add_query_arg( 'term_page', $cur_page - 1 ) );
     532        }
     533
     534        $last_page_link = esc_url( add_query_arg( 'term_page', $total_pages ) );
    535535
    536536        $next_disabled = '';
    537537        if ( $cur_page >= $total_pages ) {
    538             $next_page_link = add_query_arg( 'term_page', $total_pages );
     538            $next_page_link = esc_url( add_query_arg( 'term_page', $total_pages ) );
    539539            $next_disabled = ' disabled';
    540540        }
    541541        else {
    542             $next_page_link = add_query_arg( 'term_page', $cur_page + 1 );
     542            $next_page_link = esc_url( add_query_arg( 'term_page', $cur_page + 1 ) );
    543543        }
    544544
  • terms-descriptions/trunk/readme.txt

    r3067800 r3172472  
    33Tags: post, page, links, plugin, link building, cross linking, seo
    44Requires at least: 4.1
    5 Tested up to: 6.5
     5Tested up to: 6.6.2
    66Stable tag: trunk
    77
     
    7979== Changelog ==
    8080
     81= 3.4.7 =
     82
     83* Bug fixes: reflected XSS vulnerability fixed
     84* Wordpress 6.6.2 support
     85
    8186= 3.4.6 =
    8287
  • terms-descriptions/trunk/terms-descriptions.php

    r3067800 r3172472  
    44Plugin URI: https://simplecoding.org/plagin-wordpress-terms-descriptions
    55Description: This plugin allows you to create list of terms and assign links to them. Plugin automatically replaces terms occurrences in your posts with appropriate links. You can control the number of replacements. After activation you can create terms list on plugin administration page (Tools -> Terms Descriptions).
    6 Version: 3.4.6
     6Version: 3.4.7
    77Author: Vladimir Statsenko
    88Author URI: https://simplecoding.org
Note: See TracChangeset for help on using the changeset viewer.