Plugin Directory

Changeset 3470417


Ignore:
Timestamp:
02/26/2026 03:13:48 PM (4 weeks ago)
Author:
themefic
Message:

3.5.37

Location:
ultimate-addons-for-contact-form-7/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ultimate-addons-for-contact-form-7/trunk/admin/tf-options/TF_Options.php

    r3290972 r3470417  
    6565            }
    6666
    67             //  Checked Currenct can save option
    68             $current_user = wp_get_current_user();
    69             $current_user_role = $current_user->roles[0];
    70 
    71             if ( $current_user_role !== 'administrator' && ! is_admin() ) {
    72                 wp_die( 'You do not have sufficient permissions to access this page.' );
     67            if ( ! current_user_can( 'manage_options' ) ) {
     68                wp_send_json_error(
     69                    [ 'message' => __( 'You do not have sufficient permissions to access this page.', 'ultimate-addons-cf7' ) ]
     70                );
    7371            }
    7472
  • ultimate-addons-for-contact-form-7/trunk/readme.txt

    r3453159 r3470417  
    55Tested up to: 6.9
    66Requires PHP: 7.4
    7 Stable tag: 3.5.36
     7Stable tag: 3.5.37
    88License: GPL-2.0+
    99License URI: http://www.gnu.org/licenses/gpl-2.0.txt
     
    482482== Changelog ==
    483483
     484= 3.5.37 - 26/02/2026 =
     485
     486- Improved: Security has been improved.
     487
    484488= 3.5.36 - 04/02/2026 =
    485489
  • ultimate-addons-for-contact-form-7/trunk/ultimate-addons-for-contact-form-7.php

    r3453159 r3470417  
    44 * Plugin URI: https://cf7addons.com/
    55 * Description: 50+ Essential Addons for Contact Form 7 - Conditional Fields, Multi Step Forms, Redirection, Form Templates, Columns, WooCommerce, Mailchimp and more, all in one.
    6  * Version: 3.5.36
     6 * Version: 3.5.37
    77 * Author: Themefic
    88 * Author URI: https://themefic.com/
     
    3131        define( 'UACF7_PATH', plugin_dir_path( __FILE__ ) );
    3232
    33         define( 'UACF7_VERSION', '3.5.36' );
     33        define( 'UACF7_VERSION', '3.5.37' );
    3434
    3535        if ( ! class_exists( 'Appsero\Client' ) ) {
Note: See TracChangeset for help on using the changeset viewer.