Changeset 3248578
- Timestamp:
- 02/28/2025 03:45:56 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ideal-wp-login-logo-changer/trunk/ideal-wp-login-logo-changer.php
r3247922 r3248578 87 87 add_action('admin_menu', 'iwllc_register_login_logo_setting_page'); 88 88 89 function iwllc_change_wordpress_login_logo() 90 { 89 function iwllc_change_wordpress_login_logo(){ 91 90 wp_enqueue_script('jquery'); 92 91 wp_enqueue_media(); … … 96 95 97 96 do_action('iwllc_settings_start'); 98 99 // Checking current user can manage options100 if (!current_user_can('manage_options')) {101 exit;102 }103 104 // Checking Nonce105 if ( isset($_POST['action']) && !wp_verify_nonce( sanitize_key( wp_unslash( 'action', 'action' ) ) )106 ) {107 exit;108 }109 97 110 98 ?>
Note: See TracChangeset
for help on using the changeset viewer.