PluginProbe
UsersWP – Front-end login form, User Registration, User Profile & Members Directory plugin for WP / 1.2.76
UsersWP – Front-end login form, User Registration, User Profile & Members Directory plugin for WP v1.2.76
1.2.76 1.2.75 1.2.74 1.2.73 1.2.72 1.2.71 1.2.70 1.2.69 1.2.68 1.2.67 1.2.66 1.2.65 1.2.64 1.2.63 trunk 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.19 All 176 releases
← All changes | includes/class-uwp-privacy-exporters.php +4 -3 1.0.18 → 1.2.76 View file →
@@ -23,9 +23,10 @@
23 23
24 24 if ( $user instanceof WP_User ) {
25 25 $data_to_export[] = array(
26 26 'group_id' => 'uwp_user',
27 - 'group_label' => __( 'UsersWP User Data', 'userswp' ),
27 + 'group_label' => __( 'UsersWP user data', 'userswp' ),
28 + 'group_description' => __( 'The UsersWP user data', 'userswp' ),
28 29 'item_id' => 'user',
29 30 'data' => self::get_user_meta_data( $user ),
30 31 );
31 32 }
@@ -46,9 +47,9 @@
46 47 protected static function get_user_meta_data( $user ) {
47 48 $metadata = uwp_get_usermeta_row($user->ID);
48 49
49 50 $personal_data = array();
50 - $skip_keys = array('user_id', 'user_privacy');
51 + $skip_keys = array('user_id', 'user_privacy', 'tabs_privacy');
51 52 $skip_keys = apply_filters('uwp_privacy_export_skip_user_data_columns', $skip_keys, $user);
52 53
53 54 if($metadata) {
54 55 foreach ($metadata as $key => $value) {
@@ -53,9 +54,9 @@
53 54 if($metadata) {
54 55 foreach ($metadata as $key => $value) {
55 56 if (!empty($value) && !in_array($key, $skip_keys)) {
56 57
57 - if(in_array($key, array('uwp_account_avatar_thumb', 'uwp_account_banner_thumb'))){
58 + if(in_array($key, array('avatar_thumb', 'banner_thumb'))){
58 59 $uploads = wp_upload_dir();
59 60 $upload_url = $uploads['baseurl'];
60 61 $value = $upload_url.$value;
61 62 }