Plugin Directory

Changeset 3247300


Ignore:
Timestamp:
02/26/2025 05:29:53 PM (11 months ago)
Author:
Hakik
Message:

v1.1.8: * Check: Codebase update based on PCP (Plugin Check Plugin). * Security update: CSRF Vulnerability issue resolved.

Location:
ideal-wp-login-logo-changer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ideal-wp-login-logo-changer/trunk/ideal-wp-login-logo-changer.php

    r3195957 r3247300  
    33Plugin Name: Custom Login Logo
    44description: Change the default WordPress logo by uploading your site logo for the login page.
    5 Version: 1.1.7
     5Version: 1.1.8
    66Author: Hakik Zaman
    77Author URI: https://github.com/hakikz
     
    2323
    2424/*Defining Constant*/
    25 define("IWLLC_VERSION", '1.1.7');
     25define("IWLLC_VERSION", '1.1.8');
    2626
    2727/*Add body class for options page*/
     
    6969function iwllc_register_custom_logo_settings()
    7070{
    71    register_setting( 'iwllc_change_login_options_group', 'iwllc_wp_logo_url');
    72    register_setting( 'iwllc_change_login_options_group', 'iwllc_wp_set_bg');
    73    register_setting( 'iwllc_change_login_options_group', 'iwllc_wp_bg_color');
    74    register_setting( 'iwllc_change_login_options_group', 'iwllc_wp_bg_img_url');
    75    register_setting( 'iwllc_change_login_options_group', 'iwllc_wp_logo_link');
    76    register_setting( 'iwllc_change_login_options_group', 'iwllc_wp_link_color');
    77    register_setting( 'iwllc_change_login_options_group', 'iwllc_wp_link_hover_color');
    78    register_setting( 'iwllc_change_login_options_group', 'iwllc_wp_logo_width');
    79    register_setting( 'iwllc_change_login_options_group', 'iwllc_wp_logo_height');
     71   register_setting( 'iwllc_change_login_options_group', 'iwllc_wp_logo_url', 'sanitize_url');
     72   register_setting( 'iwllc_change_login_options_group', 'iwllc_wp_set_bg', 'sanitize_text_field');
     73   register_setting( 'iwllc_change_login_options_group', 'iwllc_wp_bg_color', 'sanitize_hex_color');
     74   register_setting( 'iwllc_change_login_options_group', 'iwllc_wp_bg_img_url', 'sanitize_url');
     75   register_setting( 'iwllc_change_login_options_group', 'iwllc_wp_logo_link', 'sanitize_url');
     76   register_setting( 'iwllc_change_login_options_group', 'iwllc_wp_link_color', 'sanitize_hex_color');
     77   register_setting( 'iwllc_change_login_options_group', 'iwllc_wp_link_hover_color', 'sanitize_hex_color');
     78   register_setting( 'iwllc_change_login_options_group', 'iwllc_wp_logo_width', 'sanitize_text_field');
     79   register_setting( 'iwllc_change_login_options_group', 'iwllc_wp_logo_height', 'sanitize_text_field');
    8080}
    8181add_action( 'admin_init', 'iwllc_register_custom_logo_settings' );
     
    9696
    9797    do_action('iwllc_settings_start');
     98
     99    // Checking current user can manage options
     100    if (!current_user_can('manage_options')) {
     101        exit;
     102    }
     103
     104    // Checking Nonce
     105    if ( isset($_POST['action']) && !wp_verify_nonce( sanitize_key( wp_unslash( 'action', 'action' ) ) )
     106    ) {
     107        exit;
     108    }
    98109
    99110    ?>
  • ideal-wp-login-logo-changer/trunk/readme.txt

    r3195957 r3247300  
    55Tested up to: 6.7
    66Requires PHP: 5.2.4
    7 Stable tag: 1.1.7
     7Stable tag: 1.1.8
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    6464== Changelog ==
    6565
     66= 1.1.8 [26-02-2025] =
     67* Check: Codebase update based on PCP (Plugin Check Plugin).
     68* Security update: CSRF Vulnerability issue resolved.
     69
    6670= 1.1.7 [24-11-2024] =
    6771* Security: Codebase update based on PCP (Plugin Check Plugin).
     
    113117== Upgrade Notice ==
    114118
    115 = 1.1.0 =
    116 * Setting link redirect issue fixed in this release.
    117 
    118 = 1.0 =
    119 * Initial version.
     119= 1.1.8 [26-02-2025] =
     120* Check: Codebase update based on PCP (Plugin Check Plugin).
     121* Security update: CSRF Vulnerability issue resolved.
Note: See TracChangeset for help on using the changeset viewer.