Plugin Directory

Changeset 3415029


Ignore:
Timestamp:
12/09/2025 07:40:40 AM (5 days ago)
Author:
coolplugins
Message:

Update to version 2.5.7 from GitHub

Location:
extensions-for-elementor-form
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • extensions-for-elementor-form/tags/2.5.7/extensions-for-elementor-form.php

    r3408846 r3415029  
    88 * Author URI: https://coolplugins.net/?utm_source=cfkl_plugin&utm_medium=inside&utm_campaign=author_page&utm_content=plugins_list
    99 * Text Domain: extensions-for-elementor-form
    10  * Version: 2.5.6
     10 * Version: 2.5.7
    1111 * Requires at least: 6.2
    1212 * Requires PHP: 6.2
     
    3232}
    3333
    34 define('CFL_VERSION','2.5.6');
     34define('CFL_VERSION','2.5.7');
    3535define('PHP_MINIMUM_VERSION','7.4');
    3636define('WP_MINIMUM_VERSION','5.5');
     
    8585            add_action('wp_enqueue_scripts', array($this, 'my_enqueue_scripts'));   
    8686            add_action( 'elementor/editor/before_enqueue_scripts', array( $this, 'add_global_editor_js' ) );       
    87 
    88 
    89         }
     87            add_action('wp_head', array( $this, 'stop_format_detection_in_safari' ));
     88
     89        }
     90    }
     91
     92    public function stop_format_detection_in_safari() {
     93
     94            $ua = $_SERVER['HTTP_USER_AGENT'];
     95            $is_safari = strpos($ua, 'Safari') !== false
     96                        && strpos($ua, 'Mobile') !== false        // ensures mobile Safari
     97                        && (strpos($ua, 'iPhone') !== false
     98                            || strpos($ua, 'iPad') !== false
     99                            || strpos($ua, 'iPod') !== false)
     100                        && !preg_match('/Chrome|CriOS|Chromium|OPR|Edg/i', $ua);
     101
     102            if($is_safari){
     103
     104                echo '<meta name="format-detection" content="telephone=no">' . "\n";
     105            }
    90106    }
    91107
  • extensions-for-elementor-form/tags/2.5.7/readme.txt

    r3408846 r3415029  
    55Requires at least: 6.2
    66Tested up to: 6.9
    7 Stable tag: 2.5.6
     7Stable tag: 2.5.7
    88Requires PHP: 8.2
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
    11 Elementor tested up to: 3.33.2
     11Elementor tested up to: 3.33.4
    1212Elementor Pro tested up to: 3.33.1
    1313
     
    195195== Changelog ==
    196196
     197= 2.5.7 - 2025-12-09 =
     198* Fixed: Fix iOS Safari Telephone Number Auto-Detection.
     199
    197200= 2.5.6 - 2025-12-03 =
    198201* Improved: Compatiblity improvements with conditional fields pro.
  • extensions-for-elementor-form/trunk/extensions-for-elementor-form.php

    r3408846 r3415029  
    88 * Author URI: https://coolplugins.net/?utm_source=cfkl_plugin&utm_medium=inside&utm_campaign=author_page&utm_content=plugins_list
    99 * Text Domain: extensions-for-elementor-form
    10  * Version: 2.5.6
     10 * Version: 2.5.7
    1111 * Requires at least: 6.2
    1212 * Requires PHP: 6.2
     
    3232}
    3333
    34 define('CFL_VERSION','2.5.6');
     34define('CFL_VERSION','2.5.7');
    3535define('PHP_MINIMUM_VERSION','7.4');
    3636define('WP_MINIMUM_VERSION','5.5');
     
    8585            add_action('wp_enqueue_scripts', array($this, 'my_enqueue_scripts'));   
    8686            add_action( 'elementor/editor/before_enqueue_scripts', array( $this, 'add_global_editor_js' ) );       
    87 
    88 
    89         }
     87            add_action('wp_head', array( $this, 'stop_format_detection_in_safari' ));
     88
     89        }
     90    }
     91
     92    public function stop_format_detection_in_safari() {
     93
     94            $ua = $_SERVER['HTTP_USER_AGENT'];
     95            $is_safari = strpos($ua, 'Safari') !== false
     96                        && strpos($ua, 'Mobile') !== false        // ensures mobile Safari
     97                        && (strpos($ua, 'iPhone') !== false
     98                            || strpos($ua, 'iPad') !== false
     99                            || strpos($ua, 'iPod') !== false)
     100                        && !preg_match('/Chrome|CriOS|Chromium|OPR|Edg/i', $ua);
     101
     102            if($is_safari){
     103
     104                echo '<meta name="format-detection" content="telephone=no">' . "\n";
     105            }
    90106    }
    91107
  • extensions-for-elementor-form/trunk/readme.txt

    r3408846 r3415029  
    55Requires at least: 6.2
    66Tested up to: 6.9
    7 Stable tag: 2.5.6
     7Stable tag: 2.5.7
    88Requires PHP: 8.2
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
    11 Elementor tested up to: 3.33.2
     11Elementor tested up to: 3.33.4
    1212Elementor Pro tested up to: 3.33.1
    1313
     
    195195== Changelog ==
    196196
     197= 2.5.7 - 2025-12-09 =
     198* Fixed: Fix iOS Safari Telephone Number Auto-Detection.
     199
    197200= 2.5.6 - 2025-12-03 =
    198201* Improved: Compatiblity improvements with conditional fields pro.
Note: See TracChangeset for help on using the changeset viewer.