Plugin Directory

Changeset 2848025


Ignore:
Timestamp:
01/13/2023 03:19:24 PM (3 years ago)
Author:
ResponsiveVoice
Message:

RES-363 add sanitation to shortcode attributes; Change “tested up to” Wordpress 6.1.1;

Location:
responsivevoice-text-to-speech/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • responsivevoice-text-to-speech/trunk/readme.txt

    r2806462 r2848025  
    55Tags: audio, google translate, Google Voice, speech, text to audio, text to speech, text-to-speech, text2speech, speech synthesis api, webspeech api, voice, espeak, javascript, Speak, speech, spoken, text, text-to-speech, talk, listen, accessibility, a11y, webreader, ivona, tts, arabic, mp3, ogg, buddypress, button, chinese, english, french, german, google, welcome, greetings, hebrew, html, html5, iPad, iphone, italian, jquery, link, links, menus, mobile, multilingual, page, pages, plugin, plugins, portuguese, Post, posts, readability, Russian, seo, shortcode, sidebar, sound, spanish, gspeech, stats, tablet, tts, widget, wordpress, button, blind, visual impairment, elderly, ADA, BS 8878:2010, WCAG 2.0, Web Content Accessibility Guidelines 2.0
    66Requires at least: 3.6
    7 Tested up to: 6.1
    8 Stable tag: 1.7.6
     7Tested up to: 6.1.1
     8Stable tag: 1.7.7
    99License: GPLv2
    1010
     
    8080
    8181== Changelog ==
     82
     83= Version 1.7.7 =
     84* Add sanitation to shortcode attributes
     85* Update "Tested up to" Wordpress 6.1.1 release
    8286
    8387= Version 1.7.6 =
  • responsivevoice-text-to-speech/trunk/responsivevoice-text-to-speech.php

    r2806462 r2848025  
    44Plugin URI: responsivevoice.com/wordpress-text-to-speech-plugin/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=wprvttsplugin
    55Description: An easy to use plugin to integrate ResponsiveVoice Text to Speech into your WP blog.
    6 Version: 1.7.6
     6Version: 1.7.7
    77Author: ResponsiveVoice
    88Author URI: http://responsivevoice.com
     
    5353    ), $attributes));
    5454
     55    // Sanitize attributes
     56    $voice = esc_js($voice);
     57    $buttontext = esc_js($buttontext);
     58   
    5559    $parameters = RV_extract_extra_parameters($attributes);
    5660
     
    99103    ), $attributes));
    100104
     105    // Sanitize attributes
     106    $voice = esc_js($voice);
     107    $buttontext = esc_js($buttontext);
     108
    101109    $parameters = RV_extract_extra_parameters($attributes);
    102110
     
    148156        if (array_search($attribute, $valid_attributes) === false) {
    149157            unset($attributes[$attribute]);
     158        } else {
     159            // Sanitize attributes
     160            $attributes[$attribute] = esc_js($value);
    150161        }
    151 
    152162    }
    153163
Note: See TracChangeset for help on using the changeset viewer.