Plugin Directory

Changeset 3259203


Ignore:
Timestamp:
03/20/2025 02:38:03 PM (10 months ago)
Author:
canadahelps
Message:

use esc_attr for input args, bump to 1.0.2

Location:
embedded-cdn/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • embedded-cdn/trunk/README.txt

    r3255598 r3259203  
    55Requires at least: 3.0
    66Tested up to: 6.7
    7 Stable tag: 1.0.1
     7Stable tag: 1.0.2
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
  • embedded-cdn/trunk/embedded-cdn.php

    r3255598 r3259203  
    44Plugin URI:  https://github.com/CanadaHelps/embedded-cdn
    55Description: Adds a shortcode to support embedded custom donate now pages. [embedcdn id="168"]
    6 Version:     1.0.1
     6Version:     1.0.2
    77Author:      CanadaHelps.org
    88Author URI:  https://www.canadahelps.org/
     
    3939    $html .= ' type="text/javascript"';
    4040    $html .= ' data-cfasync="false"';
    41     $html .= ' data-page-id="' . $atts["id"] . '"';
    42     $html .= ' data-language="' . $atts["language"] . '"';
     41    $html .= ' data-page-id="' . esc_attr($atts["id"]) . '"';
     42    $html .= ' data-language="' . esc_attr($atts["language"]) . '"';
    4343    $html .= ' src="https://www.canadahelps.org/services/wa/js/apps/donatenow/embed.min.js"';
    4444    $html .= '></script>';
Note: See TracChangeset for help on using the changeset viewer.