Changeset 2526542
- Timestamp:
- 05/05/2021 10:01:53 AM (5 years ago)
- Location:
- parcel-tracker-ecourier
- Files:
-
- 2 edited
-
tags/1.0.1/includes/Admin/Settings.php (modified) (1 diff)
-
trunk/includes/Admin/Settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
parcel-tracker-ecourier/tags/1.0.1/includes/Admin/Settings.php
r2520787 r2526542 46 46 } 47 47 48 if ( isset( $_REQUEST['_wpnonce'] ) &&! wp_verify_nonce( sanitize_key( $_REQUEST['_wpnonce'] ), 'ecourier-settings' ) ) {48 if ( ! isset( $_REQUEST['_wpnonce'] ) || ! wp_verify_nonce( sanitize_key( $_REQUEST['_wpnonce'] ), 'ecourier-settings' ) ) { 49 49 wp_die( 'Nope! I can\'t let you do this' ); 50 50 } -
parcel-tracker-ecourier/trunk/includes/Admin/Settings.php
r2517826 r2526542 46 46 } 47 47 48 if ( isset( $_REQUEST['_wpnonce'] ) &&! wp_verify_nonce( sanitize_key( $_REQUEST['_wpnonce'] ), 'ecourier-settings' ) ) {48 if ( ! isset( $_REQUEST['_wpnonce'] ) || ! wp_verify_nonce( sanitize_key( $_REQUEST['_wpnonce'] ), 'ecourier-settings' ) ) { 49 49 wp_die( 'Nope! I can\'t let you do this' ); 50 50 }
Note: See TracChangeset
for help on using the changeset viewer.