Changeset 43485
- Timestamp:
- 07/17/2018 03:24:57 PM (6 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
-
branches/4.9/src/wp-admin/includes/user.php
r43479 r43485 602 602 */ 603 603 function _wp_personal_data_handle_actions() { 604 if ( isset( $_POST['privacy_action_email_retry'] ) ) { // WPCS: input var ok.604 if ( isset( $_POST['privacy_action_email_retry'] ) ) { 605 605 check_admin_referer( 'bulk-privacy_requests' ); 606 606 607 $request_id = absint( current( array_keys( (array) wp_unslash( $_POST['privacy_action_email_retry'] ) ) ) ); // WPCS: input var ok, sanitization ok.607 $request_id = absint( current( array_keys( (array) wp_unslash( $_POST['privacy_action_email_retry'] ) ) ) ); 608 608 $result = _wp_privacy_resend_request( $request_id ); 609 609 … … 624 624 } 625 625 } elseif ( isset( $_POST['action'] ) ) { 626 $action = isset( $_POST['action'] ) ? sanitize_key( wp_unslash( $_POST['action'] ) ) : ''; // WPCS: input var ok, CSRF ok.626 $action = isset( $_POST['action'] ) ? sanitize_key( wp_unslash( $_POST['action'] ) ) : ''; 627 627 628 628 switch ( $action ) { … … 1121 1121 public function process_bulk_action() { 1122 1122 $action = $this->current_action(); 1123 $request_ids = isset( $_REQUEST['request_id'] ) ? wp_parse_id_list( wp_unslash( $_REQUEST['request_id'] ) ) : array(); // WPCS: input var ok, CSRF ok. 1123 $request_ids = isset( $_REQUEST['request_id'] ) ? wp_parse_id_list( wp_unslash( $_REQUEST['request_id'] ) ) : array(); 1124 1124 1125 $count = 0; 1125 1126
Note: See TracChangeset
for help on using the changeset viewer.