Changeset 43084 for branches/4.9/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 05/02/2018 01:03:53 AM (7 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
- Property svn:mergeinfo changed
/trunk merged: 43011,43014
- Property svn:mergeinfo changed
-
branches/4.9/src/wp-admin/includes/ajax-actions.php
r43083 r43084 4155 4155 4156 4156 // Find the request CPT 4157 $request = get_post( $request_id ); 4158 if ( 'remove_personal_data' !== $request->post_title ) { 4157 $request = wp_get_user_request_data( $request_id ); 4158 4159 if ( ! $request || 'remove_personal_data' !== $request->action_name ) { 4159 4160 wp_send_json_error( __( 'Error: Invalid request ID.' ) ); 4160 4161 } 4161 4162 4162 $email_address = get_post_meta( $request_id, '_wp_user_request_user_email', true );4163 $email_address = $request->email; 4163 4164 4164 4165 if ( ! is_email( $email_address ) ) {
Note: See TracChangeset
for help on using the changeset viewer.