Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Adds is_array check. Props @xknown.
  • Loading branch information
hellofromtonya committed Nov 28, 2020
commit b7f11b320b7c33ce881b58df0a55c1521d11bc00
2 changes: 1 addition & 1 deletion src/wp-admin/includes/privacy-tools.php
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ function wp_privacy_process_personal_data_export_page( $response, $exporter_inde
} else {
$accumulated_data = get_post_meta( $request_id, '_export_data_raw', true );

if ( $accumulated_data ) {
if ( $accumulated_data && is_array( $accumulated_data ) ) {
$export_data = $accumulated_data;
}
}
Expand Down