Changeset 3398929
- Timestamp:
- 11/19/2025 12:02:31 PM (5 months ago)
- Location:
- scratch-win-giveaways-for-website-facebook
- Files:
-
- 2 edited
-
tags/2.9.2/includes/swin-api.php (modified) (1 diff)
-
trunk/includes/swin-api.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
scratch-win-giveaways-for-website-facebook/tags/2.9.2/includes/swin-api.php
r3239997 r3398929 362 362 363 363 $id_page = sanitize_text_field($_POST['id']); 364 // Check if current user has permission to access this post365 if ( current_user_can( 'delete_post', $params['ID'] ) ) {366 throw new Exception('You do not have permission to access this page');367 }368 364 369 365 if (!get_post_status($id_page)) { -
scratch-win-giveaways-for-website-facebook/trunk/includes/swin-api.php
r3239997 r3398929 362 362 363 363 $id_page = sanitize_text_field($_POST['id']); 364 // Check if current user has permission to access this post365 if ( current_user_can( 'delete_post', $params['ID'] ) ) {366 throw new Exception('You do not have permission to access this page');367 }368 364 369 365 if (!get_post_status($id_page)) {
Note: See TracChangeset
for help on using the changeset viewer.