Changeset 43008 for trunk/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 04/27/2018 10:12:01 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r42986 r43008 4465 4465 // Find the request CPT 4466 4466 $request = get_post( $request_id ); 4467 if ( ' user_remove_request' !== $request->post_type ) {4467 if ( 'remove_personal_data' !== $request->post_title ) { 4468 4468 wp_send_json_error( __( 'Error: Invalid request ID.' ) ); 4469 4469 } 4470 4470 4471 $email_address = get_post_meta( $request_id, '_ user_email', true );4471 $email_address = get_post_meta( $request_id, '_wp_user_request_user_email', true ); 4472 4472 4473 4473 if ( ! is_email( $email_address ) ) {
Note: See TracChangeset
for help on using the changeset viewer.