Plugin Directory

Changeset 3110614


Ignore:
Timestamp:
07/01/2024 04:39:36 PM (21 months ago)
Author:
helloasso
Message:

Update to version 1.1.10 from GitHub

Location:
helloasso
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • helloasso/tags/1.1.10/README.txt

    r3098044 r3110614  
    66Tested up to: 6.4.3
    77Requires PHP: 7.2.34
    8 Stable tag: 6.4.3
     8Stable tag: 1.1.10
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8282== Changelog ==
    8383
     84= 1.1.10 =
     85* Correction d'une faille XSS possible sur l'insertion de l'iframe
     86
    8487= 1.1.9 =
    8588* Ajout de la possibilité de spécifier une hauteur dans le shortcode afin de voir les formulaires de don en entier.
  • helloasso/tags/1.1.10/admin/view/template/footer.php

    r3098044 r3110614  
    2222  </svg>
    2323
    24   <div class="ha-copyright">Tous droits réservés © <?= esc_html(date('Y')); ?> - HelloAsso for Wordpress v1.1.9</div>
     24  <div class="ha-copyright">Tous droits réservés © <?= esc_html(date('Y')); ?> - HelloAsso for Wordpress v10</div>
    2525</div>
  • helloasso/tags/1.1.10/hello-asso.php

    r3098044 r3110614  
    1717 * Plugin URI:        https://centredaide.helloasso.com/s/article/paiement-en-ligne-wordpress-integrer-vos-campagnes-helloasso
    1818 * Description:       HelloAsso est la solution gratuite des associations pour collecter des paiements et des dons sur internet.
    19  * Version:           1.1.9
     19 * Version:           1.1.10
    2020 * Author:            HelloAsso
    2121 * Author URI:        https://helloasso.com
     
    3737 * Rename this for your plugin and update it as you release new versions.
    3838 */
    39 define('HELLO_ASSO_VERSION', '1.1.9');
     39define('HELLO_ASSO_VERSION', '1.1.10');
    4040
    4141/**
  • helloasso/tags/1.1.10/public/class-hello-asso-public.php

    r3098044 r3110614  
    111111            $allowed_styles = array(
    112112            'style' => array(
     113            'width' => array(),
    113114            'height' => array(),
    114115            'border' => array(),
     
    116117            );
    117118
     119            $pattern = '/^\d+px$/';
     120
    118121            if($type == "widget-bouton")
    119122            {
    120                 $height = $atts['height'] ?? "70px";
     123                $height = preg_match($pattern, $atts['height'] ?? 0) ? $atts['height'] : "70px";
    121124                $styleIframe = 'style="width:200px; height:'. $height . '; border:none;"';
    122125            }
    123126            else if($type == "widget")
    124127            {
    125                 $height = $atts['height'] ?? "750px";
     128                $height = preg_match($pattern, $atts['height'] ?? 0) ? $atts['height'] : "750px";
    126129                $styleIframe = 'style="width:100%; height:'. $height . '; border:none;"';
    127130            }
    128131            else if($type == "widget-vignette")
    129132            {
    130                 $height = $atts['height'] ?? "450px";
     133                $height = preg_match($pattern, $atts['height'] ?? 0) ? $atts['height'] : "450px";
    131134                $styleIframe = 'style="width:350px; height:'. $height . '; border:none;"';
    132135            }
  • helloasso/trunk/README.txt

    r3098044 r3110614  
    66Tested up to: 6.4.3
    77Requires PHP: 7.2.34
    8 Stable tag: 6.4.3
     8Stable tag: 1.1.10
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8282== Changelog ==
    8383
     84= 1.1.10 =
     85* Correction d'une faille XSS possible sur l'insertion de l'iframe
     86
    8487= 1.1.9 =
    8588* Ajout de la possibilité de spécifier une hauteur dans le shortcode afin de voir les formulaires de don en entier.
  • helloasso/trunk/admin/view/template/footer.php

    r3098044 r3110614  
    2222  </svg>
    2323
    24   <div class="ha-copyright">Tous droits réservés © <?= esc_html(date('Y')); ?> - HelloAsso for Wordpress v1.1.9</div>
     24  <div class="ha-copyright">Tous droits réservés © <?= esc_html(date('Y')); ?> - HelloAsso for Wordpress v10</div>
    2525</div>
  • helloasso/trunk/hello-asso.php

    r3098044 r3110614  
    1717 * Plugin URI:        https://centredaide.helloasso.com/s/article/paiement-en-ligne-wordpress-integrer-vos-campagnes-helloasso
    1818 * Description:       HelloAsso est la solution gratuite des associations pour collecter des paiements et des dons sur internet.
    19  * Version:           1.1.9
     19 * Version:           1.1.10
    2020 * Author:            HelloAsso
    2121 * Author URI:        https://helloasso.com
     
    3737 * Rename this for your plugin and update it as you release new versions.
    3838 */
    39 define('HELLO_ASSO_VERSION', '1.1.9');
     39define('HELLO_ASSO_VERSION', '1.1.10');
    4040
    4141/**
  • helloasso/trunk/public/class-hello-asso-public.php

    r3098044 r3110614  
    111111            $allowed_styles = array(
    112112            'style' => array(
     113            'width' => array(),
    113114            'height' => array(),
    114115            'border' => array(),
     
    116117            );
    117118
     119            $pattern = '/^\d+px$/';
     120
    118121            if($type == "widget-bouton")
    119122            {
    120                 $height = $atts['height'] ?? "70px";
     123                $height = preg_match($pattern, $atts['height'] ?? 0) ? $atts['height'] : "70px";
    121124                $styleIframe = 'style="width:200px; height:'. $height . '; border:none;"';
    122125            }
    123126            else if($type == "widget")
    124127            {
    125                 $height = $atts['height'] ?? "750px";
     128                $height = preg_match($pattern, $atts['height'] ?? 0) ? $atts['height'] : "750px";
    126129                $styleIframe = 'style="width:100%; height:'. $height . '; border:none;"';
    127130            }
    128131            else if($type == "widget-vignette")
    129132            {
    130                 $height = $atts['height'] ?? "450px";
     133                $height = preg_match($pattern, $atts['height'] ?? 0) ? $atts['height'] : "450px";
    131134                $styleIframe = 'style="width:350px; height:'. $height . '; border:none;"';
    132135            }
Note: See TracChangeset for help on using the changeset viewer.