Plugin Directory

Changeset 3116020


Ignore:
Timestamp:
07/11/2024 05:14:28 AM (21 months ago)
Author:
youzify
Message:

new update fixed admin settings issues

Location:
youzify
Files:
874 added
3 edited

Legend:

Unmodified
Added
Removed
  • youzify/trunk/includes/admin/core/class-youzify-admin-ajax.php

    r3105489 r3116020  
    1717     */
    1818    function save_settings() {
     19
     20        if ( ! current_user_can('manage_options') ) {
     21            exit;
     22        }
    1923
    2024        check_ajax_referer( 'youzify-settings-data', 'security' );
     
    338342
    339343        wp_send_json_success( array( 'result' => 1, 'message' => __( 'Success!', 'youzify' ) ) );
     344
    340345        exit();
    341346
     
    676681    function reset_settings() {
    677682
     683        if ( ! current_user_can('manage_options') ) {
     684            exit;
     685        }
     686
     687        check_ajax_referer( 'youzify-settings-data', 'security' );
     688
    678689        do_action( 'youzify_before_reset_tab_settings' );
    679690
     
    682693
    683694        if ( 'tab' == $reset_type ) {
    684 
    685             check_ajax_referer( 'youzify-settings-data', 'security' );
    686695
    687696            $options = youzify_sanitize_array( $_POST['youzify_options'] );
  • youzify/trunk/readme.txt

    r3115982 r3116020  
    66Requires PHP: 5.6
    77Tested up to: 6.4
    8 Stable tag: 1.2.7
     8Stable tag: 1.2.8
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
     
    557557Fix - Profile Set Views Function Error
    558558Fix - Profile Notifications Settings
     559
     560= 1.2.8 - 2024-07-11 =
     561Fix - Increased Admin Settings Security
  • youzify/trunk/youzify.php

    r3115982 r3116020  
    44 * Plugin URI:  https://youzify.com
    55 * Description: Youzify is a WordPress Community, Social Network and User Profiles management solution with a Secure Membership System, Front-end Account Settings, Powerful Admin Panel, Many Header Styles, +20 Profile Widgets, 16 Color Schemes, Advanced Author Widgets, Fully Responsive Design, Extremely Customizable and a Bunch of Unlimited Features provided by KaineLabs.
    6  * Version:     1.2.7
     6 * Version:     1.2.8
    77 * Author:      KaineLabs
    88 * Author URI:  https://www.kainelabs.com
     
    1717
    1818// Youzify Version.
    19 define( 'YOUZIFY_VERSION', '1.2.7' );
     19define( 'YOUZIFY_VERSION', '1.2.8' );
    2020
    2121// Youzify Basename
Note: See TracChangeset for help on using the changeset viewer.