Changeset 3309680
- Timestamp:
- 06/11/2025 09:44:11 AM (6 months ago)
- Location:
- form-maker/trunk
- Files:
-
- 7 edited
-
admin/views/Options_fm.php (modified) (4 diffs)
-
admin/views/Submissions_fm.php (modified) (1 diff)
-
css/style_submissions.css (modified) (1 diff)
-
form-maker.php (modified) (3 diffs)
-
form_maker_insert.php (modified) (3 diffs)
-
frontend/models/form_maker.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
form-maker/trunk/admin/views/Options_fm.php
r2316673 r3309680 82 82 <span class="wd-group"> 83 83 <label class="wd-label" for="public_key"><?php _e('Site key', WDFMInstance(self::PLUGIN)->prefix); ?></label> 84 <input id="public_key" name="public_key" value="<?php echo $public_key; ?>" type="text" />84 <input id="public_key" name="public_key" value="<?php echo esc_attr($public_key); ?>" type="text" /> 85 85 </span> 86 86 <span class="wd-group"> 87 87 <label class="wd-label" for="private_key"><?php _e('Secret key', WDFMInstance(self::PLUGIN)->prefix); ?></label> 88 <input id="private_key" name="private_key" value="<?php echo $private_key; ?>" type="text" />88 <input id="private_key" name="private_key" value="<?php echo esc_attr($private_key); ?>" type="text" /> 89 89 <p class="description"> 90 90 <?php echo sprintf(__('%s for your site from ReCaptcha website and copy the provided here.', WDFMInstance(self::PLUGIN)->prefix), '<a href="https://www.google.com/recaptcha/intro/index.html" target="_blank">' . __('Get ReCaptcha Site and Secret Keys', WDFMInstance(self::PLUGIN)->prefix) . '</a>'); ?> … … 93 93 <span class="wd-group"> 94 94 <label class="wd-label" for="recaptcha_score"><?php _e('Minimum ReCaptcha v3 Score to allow submission', WDFMInstance(self::PLUGIN)->prefix); ?></label> 95 <input id="recaptcha_score" name="recaptcha_score" value="<?php echo $recaptcha_score == '' ? 0.5 : $recaptcha_score; ?>" type="number" max="1" min="0" step="0.1" />95 <input id="recaptcha_score" name="recaptcha_score" value="<?php echo esc_attr($recaptcha_score === '' ? 0.5 : $recaptcha_score); ?>" type="number" max="1" min="0" step="0.1" /> 96 96 <p class="description"> 97 97 <?php echo sprintf(__('ReCaptcha v3 returns a score based on the user interactions with your forms. Scores range from 0.0 to 1.0, with 0.0 indicating abusive traffic and 1.0 indicating good traffic. %sVisit%s ReCaptcha admin to review verification statistics.', WDFMInstance(self::PLUGIN)->prefix), '<a href="https://www.google.com/recaptcha/admin/" target="_blank">', '</a>'); ?> … … 110 110 <span class="wd-group"> 111 111 <label class="wd-label" for="map_key"><?php _e('Map API Key', WDFMInstance(self::PLUGIN)->prefix); ?></label> 112 <input id="map_key" name="map_key" value="<?php echo $map_key; ?>" type="text" />112 <input id="map_key" name="map_key" value="<?php echo esc_attr($map_key); ?>" type="text" /> 113 113 <p class="description"> 114 114 <?php echo _e('Get', WDFMInstance(self::PLUGIN)->prefix); ?> … … 128 128 <span class="wd-group"> 129 129 <label class="wd-label" for="csv_delimiter"><?php _e('CSV Delimiter', WDFMInstance(self::PLUGIN)->prefix); ?></label> 130 <input id="csv_delimiter" name="csv_delimiter" value="<?php echo $csv_delimiter; ?>" type="text" />130 <input id="csv_delimiter" name="csv_delimiter" value="<?php echo esc_attr($csv_delimiter); ?>" type="text" /> 131 131 <p class="description"><?php _e('This option sets the symbol, which will be used to separate the values in CSV file of form submissions.', WDFMInstance(self::PLUGIN)->prefix); ?></p> 132 132 </span> -
form-maker/trunk/admin/views/Submissions_fm.php
r3156791 r3309680 753 753 <td id="<?php echo $sorted_labels_id[$h]; ?>_fc" class="<?php echo $sorted_labels_id[$h]; ?>_fc sub-align" <?php echo $styleStr; ?> data-colname="<?php echo !empty($label_name_ids[$sorted_labels_id[$h]]) ? $label_name_ids[$sorted_labels_id[$h]] : ''; ?>" <?php echo ($savedb == 2 && $sorted_label_types[$h] == "type_paypal_payment_status") ? $check_payment_status : ""; ?> style="width:<?php echo $status_column_width; ?>; max-width:<?php echo $status_column_width; ?>;"> 754 754 <?php if ( $sorted_label_types[$h] == 'type_signature' ) { ?> 755 <img src="<?php echo $textdata['text']; ?>" style="width:50px; border: 1px solid #ddd;"/>755 <img src="<?php echo esc_url($element_value); ?>" style="width:50px; border: 1px solid #ddd;"/> 756 756 <?php 757 757 } -
form-maker/trunk/css/style_submissions.css
r2510880 r3309680 39 39 .submissions tbody tr { 40 40 border-bottom: solid 1px #ddd !important; 41 display:table-row!important 41 42 } 42 43 .submissions td { -
form-maker/trunk/form-maker.php
r3229199 r3309680 4 4 * Plugin URI: https://10web.io/plugins/wordpress-form-maker/?utm_source=form_maker&utm_medium=free_plugin 5 5 * Description: This plugin is a modern and advanced tool for easy and fast creating of a WordPress Form. The backend interface is intuitive and user friendly which allows users far from scripting and programming to create WordPress Forms. 6 * Version: 1.15.3 36 * Version: 1.15.34 7 7 * Author: 10Web Form Builder Team 8 8 * Author URI: https://10web.io/plugins/?utm_source=form_maker&utm_medium=free_plugin … … 27 27 public $front_urls = array(); 28 28 public $main_file = ''; 29 public $plugin_version = '1.15.3 3';30 public $db_version = '2.15.3 3';29 public $plugin_version = '1.15.34'; 30 public $db_version = '2.15.34'; 31 31 public $menu_postfix = '_fm'; 32 32 public $plugin_postfix = ''; … … 520 520 add_action('load-' . $submissions_page, array($this, 'submissions_per_page')); 521 521 522 add_submenu_page( null, __('Blocked IPs', $this->prefix), __('Blocked IPs', $this->prefix), 'manage_options', 'blocked_ips' . $this->menu_postfix, array($this, 'form_maker'));522 add_submenu_page('', __('Blocked IPs', $this->prefix), __('Blocked IPs', $this->prefix), 'manage_options', 'blocked_ips' . $this->menu_postfix, array($this, 'form_maker')); 523 523 add_submenu_page($parent_slug, __('Themes', $this->prefix), __('Themes', $this->prefix), 'manage_options', 'themes' . $this->menu_postfix, array($this, 'form_maker')); 524 524 add_submenu_page($parent_slug, __('Options', $this->prefix), __('Options', $this->prefix), 'manage_options', 'options' . $this->menu_postfix, array($this, 'form_maker')); 525 add_submenu_page( null, __('Uninstall', $this->prefix), __('Uninstall', $this->prefix), 'manage_options', 'uninstall' . $this->menu_postfix, array($this, 'form_maker'));525 add_submenu_page('', __('Uninstall', $this->prefix), __('Uninstall', $this->prefix), 'manage_options', 'uninstall' . $this->menu_postfix, array($this, 'form_maker')); 526 526 527 527 if ( current_user_can('manage_options') && $this->is_free ) { -
form-maker/trunk/form_maker_insert.php
r2711405 r3309680 393 393 'checkout_mode' => '0', 394 394 'paypal_email' => '', 395 'payment_currency' => 'U DS',395 'payment_currency' => 'USD', 396 396 'tax' => '0', 397 397 'savedb' => '1', … … 471 471 'checkout_mode' => 'testmode', 472 472 'paypal_email' => '', 473 'payment_currency' => 'U DS',473 'payment_currency' => 'USD', 474 474 'tax' => '0', 475 475 'savedb' => '1', … … 549 549 'checkout_mode' => 'testmode', 550 550 'paypal_email' => '', 551 'payment_currency' => 'U DS',551 'payment_currency' => 'USD', 552 552 'tax' => '0', 553 553 'savedb' => '1', -
form-maker/trunk/frontend/models/form_maker.php
r3171503 r3309680 2432 2432 fclose($indexfile); 2433 2433 $htaccessfile = fopen($upload_dir[ 'basedir' ] . '/' . $destination . "/signatures/.htaccess", "w"); 2434 fwrite($htaccessfile, "deny from all");2434 fwrite($htaccessfile, '<FilesMatch "\.(?!jpe?g$|png$|gif$|webp$).*$">' . PHP_EOL . 'Deny from all' . PHP_EOL . '</FilesMatch>'); 2435 2435 fclose($htaccessfile); 2436 2436 } … … 2447 2447 $indexfile = fopen($dirTmp."/index.html", "w"); 2448 2448 fclose($indexfile); 2449 $htaccessfile = fopen($dirTmp . "/.htaccess", "w"); 2450 fwrite($htaccessfile, "deny from all"); 2451 fclose($htaccessfile); 2449 if( $dir === 'signature' ) { 2450 $htaccessfile = fopen($dirTmp . "/.htaccess", "w"); 2451 fwrite($htaccessfile, '<FilesMatch "\.(?!jpe?g$|png$|gif$|webp$).*$">' . PHP_EOL . 'Deny from all' . PHP_EOL . '</FilesMatch>'); 2452 fclose($htaccessfile); 2453 } 2452 2454 } 2453 2455 } … … 2691 2693 $this->set_submission_total( $total_field_subm_data ); 2692 2694 2693 $total = $total + ($total * $tax) / 100;2695 $total = floatval($total) + (floatval($total) * floatval($tax)) / 100; 2694 2696 if ( isset( $paypal[ 'shipping' ] ) ) { 2695 2697 $total = $total + $paypal[ 'shipping' ]; -
form-maker/trunk/readme.txt
r3305506 r3309680 4 4 Requires at least: 4.6 5 5 Tested up to: 6.8 6 Stable tag: 1.15.3 36 Stable tag: 1.15.34 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 558 558 559 559 == Changelog == 560 = 1.15.34 = 561 * Fixed: Security issue. 562 * Fixed: Deprecated issue. 563 560 564 = 1.15.33 = 561 565 * Fixed: Security issue fix.
Note: See TracChangeset
for help on using the changeset viewer.