Changeset 7081
- Timestamp:
- 05/20/2020 07:33:29 PM (6 years ago)
- File:
-
- 1 edited
-
branches/2.6/src/includes/core/sub-actions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.6/src/includes/core/sub-actions.php
r6923 r7081 379 379 } 380 380 381 // Bail if no action 382 if ( empty( $_POST['action'] ) ) {381 // Bail if no action, or 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.