Changeset 7080 for trunk/src/includes/core/sub-actions.php
- Timestamp:
- 05/20/2020 07:31:47 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/core/sub-actions.php
r6923 r7080 379 379 } 380 380 381 // Bail if no action 382 if ( empty( $_POST['action'] ) ) {381 // Bail if no action, of if not a string (arrays not supported) 382 if ( empty( $_POST['action'] ) || ! is_string( $_POST['action'] ) ) { 383 383 return; 384 384 } … … 412 412 } 413 413 414 // Bail if no action 415 if ( empty( $_GET['action'] ) ) {414 // Bail if no action, or if not a string (arrays not supported) 415 if ( empty( $_GET['action'] ) || ! is_string( $_GET['action'] ) ) { 416 416 return; 417 417 }
Note: See TracChangeset
for help on using the changeset viewer.