Changeset 43083 for branches/4.9/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 05/02/2018 01:00:46 AM (7 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
-
branches/4.9/src/wp-admin/includes/ajax-actions.php
r43075 r43083 4156 4156 // Find the request CPT 4157 4157 $request = get_post( $request_id ); 4158 if ( ' user_remove_request' !== $request->post_type ) {4158 if ( 'remove_personal_data' !== $request->post_title ) { 4159 4159 wp_send_json_error( __( 'Error: Invalid request ID.' ) ); 4160 4160 } 4161 4161 4162 $email_address = get_post_meta( $request_id, '_ user_email', true );4162 $email_address = get_post_meta( $request_id, '_wp_user_request_user_email', true ); 4163 4163 4164 4164 if ( ! is_email( $email_address ) ) {
Note: See TracChangeset
for help on using the changeset viewer.