Changeset 3110614
- Timestamp:
- 07/01/2024 04:39:36 PM (21 months ago)
- Location:
- helloasso
- Files:
-
- 8 edited
- 1 copied
-
tags/1.1.10 (copied) (copied from helloasso/trunk)
-
tags/1.1.10/README.txt (modified) (2 diffs)
-
tags/1.1.10/admin/view/template/footer.php (modified) (1 diff)
-
tags/1.1.10/hello-asso.php (modified) (2 diffs)
-
tags/1.1.10/public/class-hello-asso-public.php (modified) (2 diffs)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/admin/view/template/footer.php (modified) (1 diff)
-
trunk/hello-asso.php (modified) (2 diffs)
-
trunk/public/class-hello-asso-public.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
helloasso/tags/1.1.10/README.txt
r3098044 r3110614 6 6 Tested up to: 6.4.3 7 7 Requires PHP: 7.2.34 8 Stable tag: 6.4.38 Stable tag: 1.1.10 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 82 82 == Changelog == 83 83 84 = 1.1.10 = 85 * Correction d'une faille XSS possible sur l'insertion de l'iframe 86 84 87 = 1.1.9 = 85 88 * 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 22 22 </svg> 23 23 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> 25 25 </div> -
helloasso/tags/1.1.10/hello-asso.php
r3098044 r3110614 17 17 * Plugin URI: https://centredaide.helloasso.com/s/article/paiement-en-ligne-wordpress-integrer-vos-campagnes-helloasso 18 18 * Description: HelloAsso est la solution gratuite des associations pour collecter des paiements et des dons sur internet. 19 * Version: 1.1. 919 * Version: 1.1.10 20 20 * Author: HelloAsso 21 21 * Author URI: https://helloasso.com … … 37 37 * Rename this for your plugin and update it as you release new versions. 38 38 */ 39 define('HELLO_ASSO_VERSION', '1.1. 9');39 define('HELLO_ASSO_VERSION', '1.1.10'); 40 40 41 41 /** -
helloasso/tags/1.1.10/public/class-hello-asso-public.php
r3098044 r3110614 111 111 $allowed_styles = array( 112 112 'style' => array( 113 'width' => array(), 113 114 'height' => array(), 114 115 'border' => array(), … … 116 117 ); 117 118 119 $pattern = '/^\d+px$/'; 120 118 121 if($type == "widget-bouton") 119 122 { 120 $height = $atts['height'] ??"70px";123 $height = preg_match($pattern, $atts['height'] ?? 0) ? $atts['height'] : "70px"; 121 124 $styleIframe = 'style="width:200px; height:'. $height . '; border:none;"'; 122 125 } 123 126 else if($type == "widget") 124 127 { 125 $height = $atts['height'] ??"750px";128 $height = preg_match($pattern, $atts['height'] ?? 0) ? $atts['height'] : "750px"; 126 129 $styleIframe = 'style="width:100%; height:'. $height . '; border:none;"'; 127 130 } 128 131 else if($type == "widget-vignette") 129 132 { 130 $height = $atts['height'] ??"450px";133 $height = preg_match($pattern, $atts['height'] ?? 0) ? $atts['height'] : "450px"; 131 134 $styleIframe = 'style="width:350px; height:'. $height . '; border:none;"'; 132 135 } -
helloasso/trunk/README.txt
r3098044 r3110614 6 6 Tested up to: 6.4.3 7 7 Requires PHP: 7.2.34 8 Stable tag: 6.4.38 Stable tag: 1.1.10 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 82 82 == Changelog == 83 83 84 = 1.1.10 = 85 * Correction d'une faille XSS possible sur l'insertion de l'iframe 86 84 87 = 1.1.9 = 85 88 * 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 22 22 </svg> 23 23 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> 25 25 </div> -
helloasso/trunk/hello-asso.php
r3098044 r3110614 17 17 * Plugin URI: https://centredaide.helloasso.com/s/article/paiement-en-ligne-wordpress-integrer-vos-campagnes-helloasso 18 18 * Description: HelloAsso est la solution gratuite des associations pour collecter des paiements et des dons sur internet. 19 * Version: 1.1. 919 * Version: 1.1.10 20 20 * Author: HelloAsso 21 21 * Author URI: https://helloasso.com … … 37 37 * Rename this for your plugin and update it as you release new versions. 38 38 */ 39 define('HELLO_ASSO_VERSION', '1.1. 9');39 define('HELLO_ASSO_VERSION', '1.1.10'); 40 40 41 41 /** -
helloasso/trunk/public/class-hello-asso-public.php
r3098044 r3110614 111 111 $allowed_styles = array( 112 112 'style' => array( 113 'width' => array(), 113 114 'height' => array(), 114 115 'border' => array(), … … 116 117 ); 117 118 119 $pattern = '/^\d+px$/'; 120 118 121 if($type == "widget-bouton") 119 122 { 120 $height = $atts['height'] ??"70px";123 $height = preg_match($pattern, $atts['height'] ?? 0) ? $atts['height'] : "70px"; 121 124 $styleIframe = 'style="width:200px; height:'. $height . '; border:none;"'; 122 125 } 123 126 else if($type == "widget") 124 127 { 125 $height = $atts['height'] ??"750px";128 $height = preg_match($pattern, $atts['height'] ?? 0) ? $atts['height'] : "750px"; 126 129 $styleIframe = 'style="width:100%; height:'. $height . '; border:none;"'; 127 130 } 128 131 else if($type == "widget-vignette") 129 132 { 130 $height = $atts['height'] ??"450px";133 $height = preg_match($pattern, $atts['height'] ?? 0) ? $atts['height'] : "450px"; 131 134 $styleIframe = 'style="width:350px; height:'. $height . '; border:none;"'; 132 135 }
Note: See TracChangeset
for help on using the changeset viewer.