Changeset 43011 for trunk/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 04/27/2018 05:30:28 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r43008 r43011 4464 4464 4465 4465 // Find the request CPT 4466 $request = get_post( $request_id ); 4467 if ( 'remove_personal_data' !== $request->post_title ) { 4466 $request = wp_get_user_request_data( $request_id ); 4467 4468 if ( ! $request || 'remove_personal_data' !== $request->action_name ) { 4468 4469 wp_send_json_error( __( 'Error: Invalid request ID.' ) ); 4469 4470 } 4470 4471 4471 $email_address = get_post_meta( $request_id, '_wp_user_request_user_email', true );4472 $email_address = $request->email; 4472 4473 4473 4474 if ( ! is_email( $email_address ) ) {
Note: See TracChangeset
for help on using the changeset viewer.