Changeset 6757 for trunk/src/includes/core/sub-actions.php
- Timestamp:
- 12/20/2017 04:55:13 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/core/sub-actions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/core/sub-actions.php
r6573 r6757 354 354 $action = sanitize_key( $_POST['action'] ); 355 355 356 // Bail if action was totally invalid 357 if ( empty( $action ) ) { 358 return; 359 } 360 356 361 // This dynamic action is probably the one you want to use. It narrows down 357 362 // the scope of the 'action' without needing to check it in your function. … … 381 386 // Sanitize the GET action 382 387 $action = sanitize_key( $_GET['action'] ); 388 389 // Bail if action was totally invalid 390 if ( empty( $action ) ) { 391 return; 392 } 383 393 384 394 // This dynamic action is probably the one you want to use. It narrows down
Note: See TracChangeset
for help on using the changeset viewer.