Ticket #44215: 44215.patch
File 44215.patch, 726 bytes (added by , 6 years ago) |
---|
-
src/wp-admin/includes/ajax-actions.php
4484 4484 ); 4485 4485 } 4486 4486 4487 // Smooth data by removing empty values provided by exporters as to not 4488 // clutter the generated output. 4489 foreach ( $response['data'] as $index => $data ) { 4490 $response['data'][ $index ]['data'] = array_filter( 4491 $data['data'], 4492 function ( $v ) { 4493 $tval = trim( $v['value'] ); 4494 return ! empty( $tval ) || is_numeric( $tval ); 4495 } 4496 ); 4497 } 4498 4487 4499 /** 4488 4500 * Filters a page of personal data exporter data. Used to build the export report. 4489 4501 *