Changeset 3418198
- Timestamp:
- 12/12/2025 12:00:14 PM (4 months ago)
- Location:
- easy-media-gallery
- Files:
-
- 2 edited
-
tags/1.3.170/includes/functions/functions.php (modified) (1 diff)
-
trunk/includes/functions/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
easy-media-gallery/tags/1.3.170/includes/functions/functions.php
r2567726 r3418198 148 148 149 149 check_ajax_referer( 'easymedia-lite-nonce', 'security' ); 150 151 if ( ! current_user_can('manage_options') ) { 152 wp_send_json_error( 'Unauthorized: admin only', 403 ); 153 wp_die(); 154 } 150 155 151 156 if ( ! isset( $_POST['cmd'] ) ) { -
easy-media-gallery/trunk/includes/functions/functions.php
r2567726 r3418198 148 148 149 149 check_ajax_referer( 'easymedia-lite-nonce', 'security' ); 150 151 if ( ! current_user_can('manage_options') ) { 152 wp_send_json_error( 'Unauthorized: admin only', 403 ); 153 wp_die(); 154 } 150 155 151 156 if ( ! isset( $_POST['cmd'] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.