Changeset 3010331
- Timestamp:
- 12/15/2023 03:14:45 AM (2 years ago)
- Location:
- formzu-wp
- Files:
-
- 6 edited
- 1 copied
-
tags/1.6.9 (copied) (copied from formzu-wp/trunk)
-
tags/1.6.9/add_formzu_shortcode.php (modified) (3 diffs)
-
tags/1.6.9/formzu-wp.php (modified) (1 diff)
-
tags/1.6.9/readme.txt (modified) (2 diffs)
-
trunk/add_formzu_shortcode.php (modified) (3 diffs)
-
trunk/formzu-wp.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
formzu-wp/tags/1.6.9/add_formzu_shortcode.php
r3008516 r3010331 43 43 * - ショートコードの設定におけるXSS脆弱性に対する修正 44 44 * - コードの整理 45 * Fixed on 2023.12.15 by skagaya 46 * - height,widthのパーセント値,autoへの対応が抜けていたのを修正 45 47 */ 46 48 if ( ! preg_match('/^(S[0-9]{5,9})$/', $atts['form_id']) ) { … … 48 50 } 49 51 52 /* 50 53 if ( ! ctype_digit($atts['width']) ) { 51 54 if ( ! $atts['width'] == '' ) { … … 63 66 if ( ! $atts['mobile_height'] == '' ) { 64 67 return '<p>' . __('mobile_heightは半角数字のみ指定可能です。') . '</p>'; 68 } 69 } 70 */ 71 72 if ( isset($atts['width']) && $atts['width'] ) { 73 if ( preg_match('/^([0-9]+([a-zA-Z]{1,5}|%)?|auto)$/', $atts['width']) !== 1 ) { 74 return '<p>' . __('widthは長さ、パーセント値、autoのみ指定可能です。') . '</p>'; 75 } 76 } 77 78 if ( isset($atts['height']) && $atts['height'] ) { 79 if ( preg_match('/^([0-9]+([a-zA-Z]{1,5}|%)?|auto)$/', $atts['height']) !== 1 ) { 80 return '<p>' . __('heightは長さ、パーセント値、autoのみ指定可能です。') . '</p>'; 81 } 82 } 83 84 if ( isset($atts['mobile_height']) && $atts['mobile_height'] ) { 85 if ( preg_match('/^([0-9]+([a-zA-Z]{1,5}|%)?|auto)$/', $atts['mobile_height']) !== 1 ) { 86 return '<p>' . __('mobile_heightは長さ、パーセント値、autoのみ指定可能です。') . '</p>'; 65 87 } 66 88 } -
formzu-wp/tags/1.6.9/formzu-wp.php
r3008516 r3010331 4 4 * Plugin URI: https://wordpress.org/plugins/formzu-wp/ 5 5 * Description: Formzu WP 6 * Version: 1.6. 86 * Version: 1.6.9 7 7 * Requires at least: 3.7 8 8 * Requires PHP: 5.2 -
formzu-wp/tags/1.6.9/readme.txt
r3008516 r3010331 6 6 Tested up to: 6.4.1 7 7 Requires PHP: 5.2 8 Stable tag: 1.6. 88 Stable tag: 1.6.9 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 59 59 60 60 == Changelog == 61 62 = v1.6.9 = 63 * ショートコードのwidth,height,mobile_height各設定に対する修正 61 64 62 65 = v1.6.8 = -
formzu-wp/trunk/add_formzu_shortcode.php
r3008516 r3010331 43 43 * - ショートコードの設定におけるXSS脆弱性に対する修正 44 44 * - コードの整理 45 * Fixed on 2023.12.15 by skagaya 46 * - height,widthのパーセント値,autoへの対応が抜けていたのを修正 45 47 */ 46 48 if ( ! preg_match('/^(S[0-9]{5,9})$/', $atts['form_id']) ) { … … 48 50 } 49 51 52 /* 50 53 if ( ! ctype_digit($atts['width']) ) { 51 54 if ( ! $atts['width'] == '' ) { … … 63 66 if ( ! $atts['mobile_height'] == '' ) { 64 67 return '<p>' . __('mobile_heightは半角数字のみ指定可能です。') . '</p>'; 68 } 69 } 70 */ 71 72 if ( isset($atts['width']) && $atts['width'] ) { 73 if ( preg_match('/^([0-9]+([a-zA-Z]{1,5}|%)?|auto)$/', $atts['width']) !== 1 ) { 74 return '<p>' . __('widthは長さ、パーセント値、autoのみ指定可能です。') . '</p>'; 75 } 76 } 77 78 if ( isset($atts['height']) && $atts['height'] ) { 79 if ( preg_match('/^([0-9]+([a-zA-Z]{1,5}|%)?|auto)$/', $atts['height']) !== 1 ) { 80 return '<p>' . __('heightは長さ、パーセント値、autoのみ指定可能です。') . '</p>'; 81 } 82 } 83 84 if ( isset($atts['mobile_height']) && $atts['mobile_height'] ) { 85 if ( preg_match('/^([0-9]+([a-zA-Z]{1,5}|%)?|auto)$/', $atts['mobile_height']) !== 1 ) { 86 return '<p>' . __('mobile_heightは長さ、パーセント値、autoのみ指定可能です。') . '</p>'; 65 87 } 66 88 } -
formzu-wp/trunk/formzu-wp.php
r3008516 r3010331 4 4 * Plugin URI: https://wordpress.org/plugins/formzu-wp/ 5 5 * Description: Formzu WP 6 * Version: 1.6. 86 * Version: 1.6.9 7 7 * Requires at least: 3.7 8 8 * Requires PHP: 5.2 -
formzu-wp/trunk/readme.txt
r3008516 r3010331 6 6 Tested up to: 6.4.1 7 7 Requires PHP: 5.2 8 Stable tag: 1.6. 88 Stable tag: 1.6.9 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 59 59 60 60 == Changelog == 61 62 = v1.6.9 = 63 * ショートコードのwidth,height,mobile_height各設定に対する修正 61 64 62 65 = v1.6.8 =
Note: See TracChangeset
for help on using the changeset viewer.