PluginProbe
Polylang / 2.6.2
Polylang v2.6.2
3.8.9 3.8.8 3.8.7 3.8.6 3.8.5 3.8.4 3.8.3 2.7 2.7.0.1 2.7.1 2.7.2 2.7.3 2.7.4 2.8 2.8.1 2.8.2 2.8.3 2.8.4 2.9 2.9.1 2.9.2 3.0 3.0.1 3.0.2 3.0.3 All 233 releases
← All changes | include/filters.php +3 -6 2.82.6.2 View file →
@@ -1,8 +1,5 @@
1 1 <?php
2 -/**
3 - * @package Polylang
4 - */
5 2
6 3 /**
7 4 * Setup filters common to admin and frontend
8 5 *
@@ -337,11 +334,11 @@
337 334 * @param string $email_address User email address
338 335 * @return array Personal data
339 336 */
340 337 public function user_data_exporter( $email_address ) {
341 - $email_address = trim( $email_address );
342 - $data_to_export = array();
343 - $user_data_to_export = array();
338 + $email_address = trim( $email_address );
339 +
340 + $data_to_export = array();
344 341
345 342 if ( $user = get_user_by( 'email', $email_address ) ) {
346 343 foreach ( $this->model->get_languages_list() as $lang ) {
347 344 if ( $lang->slug !== $this->options['default_lang'] && $value = get_user_meta( $user->ID, 'description_' . $lang->slug, true ) ) {