Changeset 3226567
- Timestamp:
- 01/22/2025 02:18:13 AM (15 months ago)
- Location:
- zigaform-calculator-cost-estimation-form-builder-lite/trunk
- Files:
-
- 2 deleted
- 20 edited
-
assets/backend/js/multistep/multistep.js (deleted)
-
assets/backend/json (deleted)
-
change_log.txt (modified) (1 diff)
-
classes/mysql.php (modified) (1 diff)
-
classes/mysql8.php (modified) (1 diff)
-
classes/uiform-form-helper.php (modified) (2 diffs)
-
i18n/languages/backend/wprockf.pot (modified) (1 diff)
-
i18n/languages/front/wprockf-de_DE.po (modified) (1 diff)
-
i18n/languages/front/wprockf-es_ES.po (modified) (1 diff)
-
i18n/languages/front/wprockf-fr_FR.po (modified) (1 diff)
-
i18n/languages/front/wprockf-it_IT.po (modified) (1 diff)
-
i18n/languages/front/wprockf-pt_BR.po (modified) (1 diff)
-
i18n/languages/front/wprockf-ru_RU.po (modified) (1 diff)
-
i18n/languages/front/wprockf-zh_CN.po (modified) (1 diff)
-
i18n/languages/front/wprockf.pot (modified) (1 diff)
-
modules/formbuilder/controllers/uiform-fb-controller-forms.php (modified) (1 diff)
-
modules/formbuilder/controllers/uiform-fb-controller-frontend.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
vendor/autoload.php (modified) (1 diff)
-
vendor/composer/autoload_real.php (modified) (3 diffs)
-
vendor/composer/autoload_static.php (modified) (2 diffs)
-
zigaform-cost-estimator-lite.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
zigaform-calculator-cost-estimation-form-builder-lite/trunk/change_log.txt
r3208219 r3226567 1 version 7.4.3 2 [update] - Implemented a critical security patch to address potential vulnerabilities and enhance system protection. 3 ----------------------------------------------------------------------------------------------------------------- 1 4 version 7.4.2 2 5 [update] - support wp 6.7.1 -
zigaform-calculator-cost-estimation-form-builder-lite/trunk/classes/mysql.php
r3208219 r3226567 160 160 $uifm_check_total = $wpdb->get_row('SELECT COUNT(*) AS total FROM ' . $this->settings, ARRAY_A); 161 161 if ( isset($uifm_check_total['total']) && intval($uifm_check_total['total']) === 0) { 162 $sql = "INSERT INTO $this->settings VALUES ('7.4. 2', null, null, null, null, null, null, '', '1');";162 $sql = "INSERT INTO $this->settings VALUES ('7.4.3', null, null, null, null, null, null, '', '1');"; 163 163 $wpdb->query($sql); 164 164 } -
zigaform-calculator-cost-estimation-form-builder-lite/trunk/classes/mysql8.php
r3208219 r3226567 160 160 $uifm_check_total = $wpdb->get_row('SELECT COUNT(*) AS total FROM ' . $this->settings, ARRAY_A); 161 161 if ( isset($uifm_check_total['total']) && intval($uifm_check_total['total']) === 0) { 162 $sql = "INSERT INTO $this->settings VALUES ('7.4. 2', null, null, null, null, null, null, '', '1');";162 $sql = "INSERT INTO $this->settings VALUES ('7.4.3', null, null, null, null, null, null, '', '1');"; 163 163 $wpdb->query($sql); 164 164 } -
zigaform-calculator-cost-estimation-form-builder-lite/trunk/classes/uiform-form-helper.php
r3189042 r3226567 256 256 } 257 257 258 public static function sanitizeInput_front_html($string) 259 { 260 if (!is_string($string)) { 261 return $string; 262 } 263 264 // Decode existing entities to prevent double encoding 265 $string = html_entity_decode($string, ENT_QUOTES, 'UTF-8'); 266 267 // Strip slashes added by magic quotes or manual escaping 268 $string = stripslashes($string); 269 270 // Strip potential dangerous tags and attributes 271 $string = strip_tags($string, '<a><b><i><strong><em><ul><li><ol>'); // Allow only safe tags 272 273 // Encode special characters to prevent HTML injection 274 $string = htmlspecialchars($string, ENT_QUOTES, 'UTF-8'); 275 276 // Remove dangerous JavaScript attributes 277 $string = preg_replace('/(on\w*|style)=["\'].*?["\']/i', '', $string); 278 279 // Normalize whitespaces and trim 280 $string = preg_replace('/[\n\r\t]+/', ' ', $string); 281 $string = trim($string); 282 283 return $string; 284 } 285 286 258 287 /** 259 288 * Sanitize input … … 336 365 } 337 366 367 368 /** 369 * Sanitize recursive 370 * 371 * @param string $data array 372 * 373 * @return array 374 */ 375 public static function sanitizeRecursive_front_html($data) 376 { 377 if ( is_array($data)) { 378 return array_map(array( 'Uiform_Form_Helper', 'sanitizeRecursive_front_html' ), $data); 379 } else { 380 return self::sanitizeInput_front_html($data); 381 } 382 } 338 383 339 384 public static function data_encrypt($string, $key) -
zigaform-calculator-cost-estimation-form-builder-lite/trunk/i18n/languages/backend/wprockf.pot
r3208219 r3226567 1 # Copyright (C) 202 4 Zigaform WP Cost Estimation Form Builder 7.4.22 # This file is distributed under the same license as the Zigaform WP Cost Estimation Form Builder 7.4. 2package.1 # Copyright (C) 2025 Zigaform WP Cost Estimation Form Builder 7.4.3 2 # This file is distributed under the same license as the Zigaform WP Cost Estimation Form Builder 7.4.3 package. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Zigaform WP Cost Estimation Form Builder 7.4. 2\n"5 "Project-Id-Version: Zigaform WP Cost Estimation Form Builder 7.4.3\n" 6 6 "MIME-Version: 1.0\n" 7 7 "Content-Type: text/plain; charset=UTF-8\n" 8 8 "Content-Transfer-Encoding: 8bit\n" 9 "POT-Creation-Date: 202 4-12-15 15:00+0000\n"9 "POT-Creation-Date: 2025-01-22 02:14+0000\n" 10 10 "X-Poedit-Basepath: ..\n" 11 11 "X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n" -
zigaform-calculator-cost-estimation-form-builder-lite/trunk/i18n/languages/front/wprockf-de_DE.po
r3208219 r3226567 1 # Copyright (C) 202 4 Zigaform WP Cost Estimation Form Builder 7.4.22 # This file is distributed under the same license as the Zigaform WP Cost Estimation Form Builder 7.4. 2package.1 # Copyright (C) 2025 Zigaform WP Cost Estimation Form Builder 7.4.3 2 # This file is distributed under the same license as the Zigaform WP Cost Estimation Form Builder 7.4.3 package. 3 3 msgid "" 4 4 msgstr "" -
zigaform-calculator-cost-estimation-form-builder-lite/trunk/i18n/languages/front/wprockf-es_ES.po
r3208219 r3226567 1 # Copyright (C) 202 4 Zigaform WP Cost Estimation Form Builder 7.4.22 # This file is distributed under the same license as the Zigaform WP Cost Estimation Form Builder 7.4. 2package.1 # Copyright (C) 2025 Zigaform WP Cost Estimation Form Builder 7.4.3 2 # This file is distributed under the same license as the Zigaform WP Cost Estimation Form Builder 7.4.3 package. 3 3 msgid "" 4 4 msgstr "" -
zigaform-calculator-cost-estimation-form-builder-lite/trunk/i18n/languages/front/wprockf-fr_FR.po
r3208219 r3226567 1 # Copyright (C) 202 4 Zigaform WP Cost Estimation Form Builder 7.4.22 # This file is distributed under the same license as the Zigaform WP Cost Estimation Form Builder 7.4. 2package.1 # Copyright (C) 2025 Zigaform WP Cost Estimation Form Builder 7.4.3 2 # This file is distributed under the same license as the Zigaform WP Cost Estimation Form Builder 7.4.3 package. 3 3 msgid "" 4 4 msgstr "" -
zigaform-calculator-cost-estimation-form-builder-lite/trunk/i18n/languages/front/wprockf-it_IT.po
r3208219 r3226567 1 # Copyright (C) 202 4 Zigaform WP Cost Estimation Form Builder 7.4.22 # This file is distributed under the same license as the Zigaform WP Cost Estimation Form Builder 7.4. 2package.1 # Copyright (C) 2025 Zigaform WP Cost Estimation Form Builder 7.4.3 2 # This file is distributed under the same license as the Zigaform WP Cost Estimation Form Builder 7.4.3 package. 3 3 msgid "" 4 4 msgstr "" -
zigaform-calculator-cost-estimation-form-builder-lite/trunk/i18n/languages/front/wprockf-pt_BR.po
r3208219 r3226567 1 # Copyright (C) 202 4 Zigaform WP Cost Estimation Form Builder 7.4.22 # This file is distributed under the same license as the Zigaform WP Cost Estimation Form Builder 7.4. 2package.1 # Copyright (C) 2025 Zigaform WP Cost Estimation Form Builder 7.4.3 2 # This file is distributed under the same license as the Zigaform WP Cost Estimation Form Builder 7.4.3 package. 3 3 msgid "" 4 4 msgstr "" -
zigaform-calculator-cost-estimation-form-builder-lite/trunk/i18n/languages/front/wprockf-ru_RU.po
r3208219 r3226567 1 # Copyright (C) 202 4 Zigaform WP Cost Estimation Form Builder 7.4.22 # This file is distributed under the same license as the Zigaform WP Cost Estimation Form Builder 7.4. 2package.1 # Copyright (C) 2025 Zigaform WP Cost Estimation Form Builder 7.4.3 2 # This file is distributed under the same license as the Zigaform WP Cost Estimation Form Builder 7.4.3 package. 3 3 msgid "" 4 4 msgstr "" -
zigaform-calculator-cost-estimation-form-builder-lite/trunk/i18n/languages/front/wprockf-zh_CN.po
r3208219 r3226567 1 # Copyright (C) 202 4 Zigaform WP Cost Estimation Form Builder 7.4.22 # This file is distributed under the same license as the Zigaform WP Cost Estimation Form Builder 7.4. 2package.1 # Copyright (C) 2025 Zigaform WP Cost Estimation Form Builder 7.4.3 2 # This file is distributed under the same license as the Zigaform WP Cost Estimation Form Builder 7.4.3 package. 3 3 msgid "" 4 4 msgstr "" -
zigaform-calculator-cost-estimation-form-builder-lite/trunk/i18n/languages/front/wprockf.pot
r3208219 r3226567 1 # Copyright (C) 202 4 Zigaform WP Cost Estimation Form Builder 7.4.22 # This file is distributed under the same license as the Zigaform WP Cost Estimation Form Builder 7.4. 2package.1 # Copyright (C) 2025 Zigaform WP Cost Estimation Form Builder 7.4.3 2 # This file is distributed under the same license as the Zigaform WP Cost Estimation Form Builder 7.4.3 package. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Zigaform WP Cost Estimation Form Builder 7.4. 2\n"5 "Project-Id-Version: Zigaform WP Cost Estimation Form Builder 7.4.3\n" 6 6 "MIME-Version: 1.0\n" 7 7 "Content-Type: text/plain; charset=UTF-8\n" 8 8 "Content-Transfer-Encoding: 8bit\n" 9 "POT-Creation-Date: 202 4-12-15 15:01+0000\n"9 "POT-Creation-Date: 2025-01-22 02:14+0000\n" 10 10 "X-Poedit-Basepath: ..\n" 11 11 "X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n" -
zigaform-calculator-cost-estimation-form-builder-lite/trunk/modules/formbuilder/controllers/uiform-fb-controller-forms.php
r3208219 r3226567 719 719 { 720 720 $redirectUrl = ''; 721 if ((isset($dump_form['app_ver']) && in_array($dump_form['app_ver'], ['7.0.0','7.4. 2'], true) ) ||721 if ((isset($dump_form['app_ver']) && in_array($dump_form['app_ver'], ['7.0.0','7.4.3'], true) ) || 722 722 723 723 $is_template === true || -
zigaform-calculator-cost-estimation-form-builder-lite/trunk/modules/formbuilder/controllers/uiform-fb-controller-frontend.php
r3192742 r3226567 1805 1805 $is_demo = ($_POST['zgfm_is_demo']) ? intval(Uiform_Form_Helper::sanitizeInput(trim($_POST['zgfm_is_demo']))) : 0; 1806 1806 $this->current_form_id = $form_id; 1807 $form_fields = (isset($_POST['uiform_fields']) && $_POST['uiform_fields']) ? array_map(array('Uiform_Form_Helper', 'sanitizeRecursive_ html'), $_POST['uiform_fields']) : array();1808 $form_avars = (isset($_POST['zgfm_avars']) && $_POST['zgfm_avars']) ? array_map(array('Uiform_Form_Helper', 'sanitizeRecursive_ html'), $_POST['zgfm_avars']) : array();1807 $form_fields = (isset($_POST['uiform_fields']) && $_POST['uiform_fields']) ? array_map(array('Uiform_Form_Helper', 'sanitizeRecursive_front_html'), $_POST['uiform_fields']) : array(); 1808 $form_avars = (isset($_POST['zgfm_avars']) && $_POST['zgfm_avars']) ? array_map(array('Uiform_Form_Helper', 'sanitizeRecursive_front_html'), $_POST['zgfm_avars']) : array(); 1809 1809 $form_f_tmp = array(); 1810 1810 $form_f_rec_tmp = array(); -
zigaform-calculator-cost-estimation-form-builder-lite/trunk/readme.txt
r3208219 r3226567 7 7 Requires at least: 5.0 8 8 Tested up to: 6.7.1 9 Stable tag: 7.4. 29 Stable tag: 7.4.3 10 10 11 11 Create estimation forms using this powerful drag-and-drop estimation form builder, enabling you to build forms in just a few minutes. -
zigaform-calculator-cost-estimation-form-builder-lite/trunk/vendor/autoload.php
r3208219 r3226567 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit e3ef4772a7bb38ac3c54eb36c41e9985::getLoader();7 return ComposerAutoloaderInit04d0b8a93797d2469aaa42ae72d15e4a::getLoader(); -
zigaform-calculator-cost-estimation-form-builder-lite/trunk/vendor/composer/autoload_real.php
r3208219 r3226567 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit e3ef4772a7bb38ac3c54eb36c41e99855 class ComposerAutoloaderInit04d0b8a93797d2469aaa42ae72d15e4a 6 6 { 7 7 private static $loader; … … 23 23 } 24 24 25 spl_autoload_register(array('ComposerAutoloaderInit e3ef4772a7bb38ac3c54eb36c41e9985', 'loadClassLoader'), true, true);25 spl_autoload_register(array('ComposerAutoloaderInit04d0b8a93797d2469aaa42ae72d15e4a', 'loadClassLoader'), true, true); 26 26 self::$loader = $loader = new \Composer\Autoload\ClassLoader(); 27 spl_autoload_unregister(array('ComposerAutoloaderInit e3ef4772a7bb38ac3c54eb36c41e9985', 'loadClassLoader'));27 spl_autoload_unregister(array('ComposerAutoloaderInit04d0b8a93797d2469aaa42ae72d15e4a', 'loadClassLoader')); 28 28 29 29 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 31 31 require_once __DIR__ . '/autoload_static.php'; 32 32 33 call_user_func(\Composer\Autoload\ComposerStaticInit e3ef4772a7bb38ac3c54eb36c41e9985::getInitializer($loader));33 call_user_func(\Composer\Autoload\ComposerStaticInit04d0b8a93797d2469aaa42ae72d15e4a::getInitializer($loader)); 34 34 } else { 35 35 $map = require __DIR__ . '/autoload_namespaces.php'; -
zigaform-calculator-cost-estimation-form-builder-lite/trunk/vendor/composer/autoload_static.php
r3208219 r3226567 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit e3ef4772a7bb38ac3c54eb36c41e99857 class ComposerStaticInit04d0b8a93797d2469aaa42ae72d15e4a 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 29 29 { 30 30 return \Closure::bind(function () use ($loader) { 31 $loader->prefixLengthsPsr4 = ComposerStaticInit e3ef4772a7bb38ac3c54eb36c41e9985::$prefixLengthsPsr4;32 $loader->prefixDirsPsr4 = ComposerStaticInit e3ef4772a7bb38ac3c54eb36c41e9985::$prefixDirsPsr4;33 $loader->classMap = ComposerStaticInit e3ef4772a7bb38ac3c54eb36c41e9985::$classMap;31 $loader->prefixLengthsPsr4 = ComposerStaticInit04d0b8a93797d2469aaa42ae72d15e4a::$prefixLengthsPsr4; 32 $loader->prefixDirsPsr4 = ComposerStaticInit04d0b8a93797d2469aaa42ae72d15e4a::$prefixDirsPsr4; 33 $loader->classMap = ComposerStaticInit04d0b8a93797d2469aaa42ae72d15e4a::$classMap; 34 34 35 35 }, null, ClassLoader::class); -
zigaform-calculator-cost-estimation-form-builder-lite/trunk/zigaform-cost-estimator-lite.php
r3208219 r3226567 4 4 * Plugin URI: https://wordpress-cost-estimator.zigaform.com 5 5 * Description: The ZigaForm WP Calculator & Cost Estimation is the ultimate estimation form creation solution for WordPress. 6 * Version: 7.4. 26 * Version: 7.4.3 7 7 * Author: ZigaForm.Com 8 8 * Author URI: https://wordpress-cost-estimator.zigaform.com/ … … 29 29 * @since 1.0 30 30 */ 31 public $version = '7.4. 2';31 public $version = '7.4.3'; 32 32 33 33 /**
Note: See TracChangeset
for help on using the changeset viewer.