Changeset 3047188
- Timestamp:
- 03/07/2024 02:36:46 PM (2 years ago)
- File:
-
- 1 edited
-
bc-menu-cart-woo/trunk/inc/Main.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
bc-menu-cart-woo/trunk/inc/Main.php
r3047119 r3047188 63 63 die(__('Security check failed', 'bc-menu-cart-woo')); 64 64 } 65 66 if (!current_user_can('edit_posts')) { 67 wp_die(__('You don not have the rights to continue', 'bc-menu-cart-woo')); 68 } 69 65 70 error_log('Security check passed, go ahead and delete'); 66 71 wp_delete_post($option_post_id);
Note: See TracChangeset
for help on using the changeset viewer.