Plugin Directory

Changeset 3226567


Ignore:
Timestamp:
01/22/2025 02:18:13 AM (15 months ago)
Author:
softdiscover
Message:

v7.4.3

Location:
zigaform-calculator-cost-estimation-form-builder-lite/trunk
Files:
2 deleted
20 edited

Legend:

Unmodified
Added
Removed
  • zigaform-calculator-cost-estimation-form-builder-lite/trunk/change_log.txt

    r3208219 r3226567  
     1version 7.4.3
     2[update] - Implemented a critical security patch to address potential vulnerabilities and enhance system protection.
     3-----------------------------------------------------------------------------------------------------------------
    14version 7.4.2
    25[update] - support wp 6.7.1
  • zigaform-calculator-cost-estimation-form-builder-lite/trunk/classes/mysql.php

    r3208219 r3226567  
    160160        $uifm_check_total = $wpdb->get_row('SELECT COUNT(*) AS total FROM ' . $this->settings, ARRAY_A);
    161161if ( 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');";
    163163    $wpdb->query($sql);
    164164}
  • zigaform-calculator-cost-estimation-form-builder-lite/trunk/classes/mysql8.php

    r3208219 r3226567  
    160160        $uifm_check_total = $wpdb->get_row('SELECT COUNT(*) AS total FROM ' . $this->settings, ARRAY_A);
    161161if ( 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');";
    163163    $wpdb->query($sql);
    164164}
  • zigaform-calculator-cost-estimation-form-builder-lite/trunk/classes/uiform-form-helper.php

    r3189042 r3226567  
    256256    }
    257257
     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
    258287    /**
    259288     * Sanitize input
     
    336365    }
    337366
     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    }
    338383
    339384    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) 2024 Zigaform WP Cost Estimation Form Builder 7.4.2
    2 # This file is distributed under the same license as the Zigaform WP Cost Estimation Form Builder 7.4.2 package.
     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.
    33msgid ""
    44msgstr ""
    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"
    66"MIME-Version: 1.0\n"
    77"Content-Type: text/plain; charset=UTF-8\n"
    88"Content-Transfer-Encoding: 8bit\n"
    9 "POT-Creation-Date: 2024-12-15 15:00+0000\n"
     9"POT-Creation-Date: 2025-01-22 02:14+0000\n"
    1010"X-Poedit-Basepath: ..\n"
    1111"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) 2024 Zigaform WP Cost Estimation Form Builder 7.4.2
    2 # This file is distributed under the same license as the Zigaform WP Cost Estimation Form Builder 7.4.2 package.
     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.
    33msgid ""
    44msgstr ""
  • zigaform-calculator-cost-estimation-form-builder-lite/trunk/i18n/languages/front/wprockf-es_ES.po

    r3208219 r3226567  
    1 # Copyright (C) 2024 Zigaform WP Cost Estimation Form Builder 7.4.2
    2 # This file is distributed under the same license as the Zigaform WP Cost Estimation Form Builder 7.4.2 package.
     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.
    33msgid ""
    44msgstr ""
  • zigaform-calculator-cost-estimation-form-builder-lite/trunk/i18n/languages/front/wprockf-fr_FR.po

    r3208219 r3226567  
    1 # Copyright (C) 2024 Zigaform WP Cost Estimation Form Builder 7.4.2
    2 # This file is distributed under the same license as the Zigaform WP Cost Estimation Form Builder 7.4.2 package.
     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.
    33msgid ""
    44msgstr ""
  • zigaform-calculator-cost-estimation-form-builder-lite/trunk/i18n/languages/front/wprockf-it_IT.po

    r3208219 r3226567  
    1 # Copyright (C) 2024 Zigaform WP Cost Estimation Form Builder 7.4.2
    2 # This file is distributed under the same license as the Zigaform WP Cost Estimation Form Builder 7.4.2 package.
     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.
    33msgid ""
    44msgstr ""
  • zigaform-calculator-cost-estimation-form-builder-lite/trunk/i18n/languages/front/wprockf-pt_BR.po

    r3208219 r3226567  
    1 # Copyright (C) 2024 Zigaform WP Cost Estimation Form Builder 7.4.2
    2 # This file is distributed under the same license as the Zigaform WP Cost Estimation Form Builder 7.4.2 package.
     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.
    33msgid ""
    44msgstr ""
  • zigaform-calculator-cost-estimation-form-builder-lite/trunk/i18n/languages/front/wprockf-ru_RU.po

    r3208219 r3226567  
    1 # Copyright (C) 2024 Zigaform WP Cost Estimation Form Builder 7.4.2
    2 # This file is distributed under the same license as the Zigaform WP Cost Estimation Form Builder 7.4.2 package.
     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.
    33msgid ""
    44msgstr ""
  • zigaform-calculator-cost-estimation-form-builder-lite/trunk/i18n/languages/front/wprockf-zh_CN.po

    r3208219 r3226567  
    1 # Copyright (C) 2024 Zigaform WP Cost Estimation Form Builder 7.4.2
    2 # This file is distributed under the same license as the Zigaform WP Cost Estimation Form Builder 7.4.2 package.
     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.
    33msgid ""
    44msgstr ""
  • zigaform-calculator-cost-estimation-form-builder-lite/trunk/i18n/languages/front/wprockf.pot

    r3208219 r3226567  
    1 # Copyright (C) 2024 Zigaform WP Cost Estimation Form Builder 7.4.2
    2 # This file is distributed under the same license as the Zigaform WP Cost Estimation Form Builder 7.4.2 package.
     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.
    33msgid ""
    44msgstr ""
    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"
    66"MIME-Version: 1.0\n"
    77"Content-Type: text/plain; charset=UTF-8\n"
    88"Content-Transfer-Encoding: 8bit\n"
    9 "POT-Creation-Date: 2024-12-15 15:01+0000\n"
     9"POT-Creation-Date: 2025-01-22 02:14+0000\n"
    1010"X-Poedit-Basepath: ..\n"
    1111"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  
    719719    {
    720720        $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) ) ||
    722722
    723723        $is_template === true ||
  • zigaform-calculator-cost-estimation-form-builder-lite/trunk/modules/formbuilder/controllers/uiform-fb-controller-frontend.php

    r3192742 r3226567  
    18051805            $is_demo               = ($_POST['zgfm_is_demo']) ? intval(Uiform_Form_Helper::sanitizeInput(trim($_POST['zgfm_is_demo']))) : 0;
    18061806            $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();
    18091809            $form_f_tmp            = array();
    18101810            $form_f_rec_tmp        = array();
  • zigaform-calculator-cost-estimation-form-builder-lite/trunk/readme.txt

    r3208219 r3226567  
    77Requires at least: 5.0 
    88Tested up to: 6.7.1
    9 Stable tag: 7.4.2 
     9Stable tag: 7.4.3 
    1010
    1111Create 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  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInite3ef4772a7bb38ac3c54eb36c41e9985::getLoader();
     7return ComposerAutoloaderInit04d0b8a93797d2469aaa42ae72d15e4a::getLoader();
  • zigaform-calculator-cost-estimation-form-builder-lite/trunk/vendor/composer/autoload_real.php

    r3208219 r3226567  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInite3ef4772a7bb38ac3c54eb36c41e9985
     5class ComposerAutoloaderInit04d0b8a93797d2469aaa42ae72d15e4a
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInite3ef4772a7bb38ac3c54eb36c41e9985', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit04d0b8a93797d2469aaa42ae72d15e4a', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader();
    27         spl_autoload_unregister(array('ComposerAutoloaderInite3ef4772a7bb38ac3c54eb36c41e9985', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit04d0b8a93797d2469aaa42ae72d15e4a', 'loadClassLoader'));
    2828
    2929        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3131            require_once __DIR__ . '/autoload_static.php';
    3232
    33             call_user_func(\Composer\Autoload\ComposerStaticInite3ef4772a7bb38ac3c54eb36c41e9985::getInitializer($loader));
     33            call_user_func(\Composer\Autoload\ComposerStaticInit04d0b8a93797d2469aaa42ae72d15e4a::getInitializer($loader));
    3434        } else {
    3535            $map = require __DIR__ . '/autoload_namespaces.php';
  • zigaform-calculator-cost-estimation-form-builder-lite/trunk/vendor/composer/autoload_static.php

    r3208219 r3226567  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInite3ef4772a7bb38ac3c54eb36c41e9985
     7class ComposerStaticInit04d0b8a93797d2469aaa42ae72d15e4a
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    2929    {
    3030        return \Closure::bind(function () use ($loader) {
    31             $loader->prefixLengthsPsr4 = ComposerStaticInite3ef4772a7bb38ac3c54eb36c41e9985::$prefixLengthsPsr4;
    32             $loader->prefixDirsPsr4 = ComposerStaticInite3ef4772a7bb38ac3c54eb36c41e9985::$prefixDirsPsr4;
    33             $loader->classMap = ComposerStaticInite3ef4772a7bb38ac3c54eb36c41e9985::$classMap;
     31            $loader->prefixLengthsPsr4 = ComposerStaticInit04d0b8a93797d2469aaa42ae72d15e4a::$prefixLengthsPsr4;
     32            $loader->prefixDirsPsr4 = ComposerStaticInit04d0b8a93797d2469aaa42ae72d15e4a::$prefixDirsPsr4;
     33            $loader->classMap = ComposerStaticInit04d0b8a93797d2469aaa42ae72d15e4a::$classMap;
    3434
    3535        }, null, ClassLoader::class);
  • zigaform-calculator-cost-estimation-form-builder-lite/trunk/zigaform-cost-estimator-lite.php

    r3208219 r3226567  
    44 * Plugin URI: https://wordpress-cost-estimator.zigaform.com
    55 * Description: The ZigaForm WP Calculator & Cost Estimation is the ultimate estimation form creation solution for WordPress.
    6  * Version: 7.4.2
     6 * Version: 7.4.3
    77 * Author: ZigaForm.Com
    88 * Author URI: https://wordpress-cost-estimator.zigaform.com/
     
    2929         * @since 1.0
    3030         */
    31         public $version = '7.4.2';
     31        public $version = '7.4.3';
    3232
    3333        /**
Note: See TracChangeset for help on using the changeset viewer.