Plugin Directory

Changeset 3348091


Ignore:
Timestamp:
08/21/2025 11:40:28 AM (7 months ago)
Author:
nahuelmahe
Message:

Update to version 3.11.1 from GitHub

Location:
ninja-forms
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • ninja-forms/tags/3.11.1/includes/Handlers/FieldsetRepeater.php

    r2904693 r3348091  
    381381        $return = [];
    382382
    383         if(is_string($fieldSubmissionValue)){
    384             $fieldSubmissionValue = maybe_unserialize($fieldSubmissionValue);
     383        if(is_string($fieldSubmissionValue) && is_serialized($fieldSubmissionValue)){
     384            $fieldSubmissionValue = unserialize($fieldSubmissionValue,['allowed_classes' => false]);
    385385        }
    386386
  • ninja-forms/tags/3.11.1/includes/MergeTags/Fields.php

    r3314072 r3348091  
    499499                        //Detect date field value in RFF
    500500                        if(isset($fieldsetFieldSubmissionValue['value']['date'])){
     501
     502                            // initialize outgoing datefield value as empty string
    501503                            $outgoing[$fieldsetFieldId]['value'] = "";
    502                             foreach($fieldsetFieldSubmissionValue['value'] as $index => $dateElement) {
     504
     505                            foreach($fieldsetFieldSubmissionValue['value'] as $dateFieldKey => $dateElement) {
    503506                                //Discard date index for time only fields
    504507                                if(strpos($dateElement, ":") === false) {
    505                                     $outgoing[$fieldsetFieldId]['value'] .= $index . ": " . strip_shortcodes($dateElement) . "<br>";
     508                                    $outgoing[$fieldsetFieldId]['value'] .= $dateFieldKey . ": " . strip_shortcodes($dateElement) . "<br>";
    506509                                }
    507510                            }
    508511                           
    509512                        } else {
    510                             // If value is not array, strip shortcode
    511                             $outgoing[$fieldsetFieldId]['value']=array_map('strip_shortcodes',$fieldsetFieldSubmissionValue['value']['value']);
     513                            // value is array but not a date array
     514                            // use array_map to strip shortcodes from each value in indexed array
     515                            $outgoing[$fieldsetFieldId]['value']=array_map('strip_shortcodes',$fieldsetFieldSubmissionValue['value']);
    512516                        }
    513517                    }else{
  • ninja-forms/tags/3.11.1/ninja-forms.php

    r3342803 r3348091  
    44Plugin URI: http://ninjaforms.com/?utm_source=WordPress&utm_medium=readme
    55Description: Ninja Forms is a webform builder with unparalleled ease of use and features.
    6 Version: 3.11.0
     6Version: 3.11.1
    77Author: Saturday Drive
    88Author URI: http://ninjaforms.com/?utm_source=Ninja+Forms+Plugin&utm_medium=Plugins+WP+Dashboard
     
    4444     */
    4545
    46     const VERSION = '3.11.0';
     46    const VERSION = '3.11.1';
    4747
    4848    /**
  • ninja-forms/tags/3.11.1/readme.txt

    r3342803 r3348091  
    33Tags: forms, form builder, contact form, lead form, registration form
    44
    5 Requires at least: 6.5
     5Requires at least: 6.6
    66Tested up to: 6.8
    7 Stable tag: 3.11.0
     7Stable tag: 3.11.1
    88Requires PHP: 7.4
    99
     
    311311
    312312== Upgrade Notice ==
    313 = 3.11.0 (July 28 2025) =
    314 *Features:*
    315 - Adds Cloudflare Turnstile CAPTCHA as a modern, privacy-friendly alternative to traditional CAPTCHAs.
    316 - Adds configurable theme (light/dark/auto) and size options for Turnstile field.
    317 - Improves accessibility with screen reader support for CAPTCHA challenges.
    318 
    319 *Bug Fixes:*
    320 - Fixes submission expiration failing on forms with 50+ fields processed in chunks.
    321 - Fixes Summernote editor dropdown menus not displaying properly in certain themes.
    322 - Fixes JavaScript errors in merge tags functionality with improved function binding.
    323 - Fixes forced marketing email sending for late-reported opt-ins.
    324 - Prevents Turnstile field from being used within repeatable fieldsets.
    325 
    326 *Performance:*
    327 - Replaces full Summernote library with lightweight Summernote Lite version.
    328 - Removes unnecessary Bootstrap dependencies reducing CSS by 4,616 lines.
    329 - Reduces total codebase by ~12,000 lines for improved page load times.
    330 
    331 *Other:*
    332 - Updates build system to Node.js 20 for better compatibility.
    333 - Improves CSS build process with proper source map generation.
    334 - Adds comprehensive E2E tests for RTE settings and Turnstile integration.
    335 - Updates test folder structure for better organization.
     313= 3.11.1 (August 20, 2025) =
     314*Bug Fixes:*
     315- Prevent object wakeup from unserialization
    336316
    337317== Changelog ==
     318= 3.11.1 (August 20, 2025) =
     319*Bug Fixes:*
     320- Prevent object wakeup from unserialization
     321
    338322= 3.11.0 (July 28 2025) =
    339323*Features:*
  • ninja-forms/tags/3.11.1/vendor/composer/installed.php

    r3342803 r3348091  
    22    'root' => array(
    33        'name' => 'saturday-drive/ninja-forms',
    4         'pretty_version' => 'dev-c0910d0733684b96d07854a48e81af6f704726dc',
    5         'version' => 'dev-c0910d0733684b96d07854a48e81af6f704726dc',
    6         'reference' => 'c0910d0733684b96d07854a48e81af6f704726dc',
     4        'pretty_version' => 'dev-aba0d078750a03a87977c949c3d5086a39689696',
     5        'version' => 'dev-aba0d078750a03a87977c949c3d5086a39689696',
     6        'reference' => 'aba0d078750a03a87977c949c3d5086a39689696',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'saturday-drive/ninja-forms' => array(
    14             'pretty_version' => 'dev-c0910d0733684b96d07854a48e81af6f704726dc',
    15             'version' => 'dev-c0910d0733684b96d07854a48e81af6f704726dc',
    16             'reference' => 'c0910d0733684b96d07854a48e81af6f704726dc',
     14            'pretty_version' => 'dev-aba0d078750a03a87977c949c3d5086a39689696',
     15            'version' => 'dev-aba0d078750a03a87977c949c3d5086a39689696',
     16            'reference' => 'aba0d078750a03a87977c949c3d5086a39689696',
    1717            'type' => 'library',
    1818            'install_path' => __DIR__ . '/../../',
  • ninja-forms/trunk/includes/Handlers/FieldsetRepeater.php

    r2904693 r3348091  
    381381        $return = [];
    382382
    383         if(is_string($fieldSubmissionValue)){
    384             $fieldSubmissionValue = maybe_unserialize($fieldSubmissionValue);
     383        if(is_string($fieldSubmissionValue) && is_serialized($fieldSubmissionValue)){
     384            $fieldSubmissionValue = unserialize($fieldSubmissionValue,['allowed_classes' => false]);
    385385        }
    386386
  • ninja-forms/trunk/includes/MergeTags/Fields.php

    r3314072 r3348091  
    499499                        //Detect date field value in RFF
    500500                        if(isset($fieldsetFieldSubmissionValue['value']['date'])){
     501
     502                            // initialize outgoing datefield value as empty string
    501503                            $outgoing[$fieldsetFieldId]['value'] = "";
    502                             foreach($fieldsetFieldSubmissionValue['value'] as $index => $dateElement) {
     504
     505                            foreach($fieldsetFieldSubmissionValue['value'] as $dateFieldKey => $dateElement) {
    503506                                //Discard date index for time only fields
    504507                                if(strpos($dateElement, ":") === false) {
    505                                     $outgoing[$fieldsetFieldId]['value'] .= $index . ": " . strip_shortcodes($dateElement) . "<br>";
     508                                    $outgoing[$fieldsetFieldId]['value'] .= $dateFieldKey . ": " . strip_shortcodes($dateElement) . "<br>";
    506509                                }
    507510                            }
    508511                           
    509512                        } else {
    510                             // If value is not array, strip shortcode
    511                             $outgoing[$fieldsetFieldId]['value']=array_map('strip_shortcodes',$fieldsetFieldSubmissionValue['value']['value']);
     513                            // value is array but not a date array
     514                            // use array_map to strip shortcodes from each value in indexed array
     515                            $outgoing[$fieldsetFieldId]['value']=array_map('strip_shortcodes',$fieldsetFieldSubmissionValue['value']);
    512516                        }
    513517                    }else{
  • ninja-forms/trunk/ninja-forms.php

    r3342803 r3348091  
    44Plugin URI: http://ninjaforms.com/?utm_source=WordPress&utm_medium=readme
    55Description: Ninja Forms is a webform builder with unparalleled ease of use and features.
    6 Version: 3.11.0
     6Version: 3.11.1
    77Author: Saturday Drive
    88Author URI: http://ninjaforms.com/?utm_source=Ninja+Forms+Plugin&utm_medium=Plugins+WP+Dashboard
     
    4444     */
    4545
    46     const VERSION = '3.11.0';
     46    const VERSION = '3.11.1';
    4747
    4848    /**
  • ninja-forms/trunk/readme.txt

    r3342803 r3348091  
    33Tags: forms, form builder, contact form, lead form, registration form
    44
    5 Requires at least: 6.5
     5Requires at least: 6.6
    66Tested up to: 6.8
    7 Stable tag: 3.11.0
     7Stable tag: 3.11.1
    88Requires PHP: 7.4
    99
     
    311311
    312312== Upgrade Notice ==
    313 = 3.11.0 (July 28 2025) =
    314 *Features:*
    315 - Adds Cloudflare Turnstile CAPTCHA as a modern, privacy-friendly alternative to traditional CAPTCHAs.
    316 - Adds configurable theme (light/dark/auto) and size options for Turnstile field.
    317 - Improves accessibility with screen reader support for CAPTCHA challenges.
    318 
    319 *Bug Fixes:*
    320 - Fixes submission expiration failing on forms with 50+ fields processed in chunks.
    321 - Fixes Summernote editor dropdown menus not displaying properly in certain themes.
    322 - Fixes JavaScript errors in merge tags functionality with improved function binding.
    323 - Fixes forced marketing email sending for late-reported opt-ins.
    324 - Prevents Turnstile field from being used within repeatable fieldsets.
    325 
    326 *Performance:*
    327 - Replaces full Summernote library with lightweight Summernote Lite version.
    328 - Removes unnecessary Bootstrap dependencies reducing CSS by 4,616 lines.
    329 - Reduces total codebase by ~12,000 lines for improved page load times.
    330 
    331 *Other:*
    332 - Updates build system to Node.js 20 for better compatibility.
    333 - Improves CSS build process with proper source map generation.
    334 - Adds comprehensive E2E tests for RTE settings and Turnstile integration.
    335 - Updates test folder structure for better organization.
     313= 3.11.1 (August 20, 2025) =
     314*Bug Fixes:*
     315- Prevent object wakeup from unserialization
    336316
    337317== Changelog ==
     318= 3.11.1 (August 20, 2025) =
     319*Bug Fixes:*
     320- Prevent object wakeup from unserialization
     321
    338322= 3.11.0 (July 28 2025) =
    339323*Features:*
  • ninja-forms/trunk/vendor/composer/installed.php

    r3342803 r3348091  
    22    'root' => array(
    33        'name' => 'saturday-drive/ninja-forms',
    4         'pretty_version' => 'dev-c0910d0733684b96d07854a48e81af6f704726dc',
    5         'version' => 'dev-c0910d0733684b96d07854a48e81af6f704726dc',
    6         'reference' => 'c0910d0733684b96d07854a48e81af6f704726dc',
     4        'pretty_version' => 'dev-aba0d078750a03a87977c949c3d5086a39689696',
     5        'version' => 'dev-aba0d078750a03a87977c949c3d5086a39689696',
     6        'reference' => 'aba0d078750a03a87977c949c3d5086a39689696',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'saturday-drive/ninja-forms' => array(
    14             'pretty_version' => 'dev-c0910d0733684b96d07854a48e81af6f704726dc',
    15             'version' => 'dev-c0910d0733684b96d07854a48e81af6f704726dc',
    16             'reference' => 'c0910d0733684b96d07854a48e81af6f704726dc',
     14            'pretty_version' => 'dev-aba0d078750a03a87977c949c3d5086a39689696',
     15            'version' => 'dev-aba0d078750a03a87977c949c3d5086a39689696',
     16            'reference' => 'aba0d078750a03a87977c949c3d5086a39689696',
    1717            'type' => 'library',
    1818            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.