Changeset 3247300
- Timestamp:
- 02/26/2025 05:29:53 PM (11 months ago)
- Location:
- ideal-wp-login-logo-changer/trunk
- Files:
-
- 2 edited
-
ideal-wp-login-logo-changer.php (modified) (4 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ideal-wp-login-logo-changer/trunk/ideal-wp-login-logo-changer.php
r3195957 r3247300 3 3 Plugin Name: Custom Login Logo 4 4 description: Change the default WordPress logo by uploading your site logo for the login page. 5 Version: 1.1. 75 Version: 1.1.8 6 6 Author: Hakik Zaman 7 7 Author URI: https://github.com/hakikz … … 23 23 24 24 /*Defining Constant*/ 25 define("IWLLC_VERSION", '1.1. 7');25 define("IWLLC_VERSION", '1.1.8'); 26 26 27 27 /*Add body class for options page*/ … … 69 69 function iwllc_register_custom_logo_settings() 70 70 { 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'); 80 80 } 81 81 add_action( 'admin_init', 'iwllc_register_custom_logo_settings' ); … … 96 96 97 97 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 } 98 109 99 110 ?> -
ideal-wp-login-logo-changer/trunk/readme.txt
r3195957 r3247300 5 5 Tested up to: 6.7 6 6 Requires PHP: 5.2.4 7 Stable tag: 1.1. 77 Stable tag: 1.1.8 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 64 64 == Changelog == 65 65 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 66 70 = 1.1.7 [24-11-2024] = 67 71 * Security: Codebase update based on PCP (Plugin Check Plugin). … … 113 117 == Upgrade Notice == 114 118 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.