Plugin Directory

Changeset 2492538


Ignore:
Timestamp:
03/10/2021 06:48:35 PM (5 years ago)
Author:
restpack
Message:

segmentation options 2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • announcekit/trunk/index.php

    r2475667 r2492538  
    55 * Plugin URI: https://announcekit.app/docs
    66 * Description: Beautifully designed newsfeed powered with fancy widgets and email notifications.
    7  * Version: 2.0.6
     7 * Version: 2.0.7
    88 * Text Domain: announcekit
    99 * Author: AnnounceKit
    1010 * Author URI: https://announcekit.app
    11  * Tested up to: 5.4
     11 * Tested up to: 5.5.3
    1212 * License: GNUGPLv3
    1313 * License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    512512            "login" => $current_user->user_login
    513513          ];
     514
     515          $data = (array) $current_user->data;
     516          unset($data['user_activation_key']);
     517          unset($data['user_login']);
     518          unset($data['user_pass']);
     519          unset($data['user_nicename']);
     520          unset($data['user_email']);
     521          unset($data['ID']);
     522          unset($data['display_name']);
     523
     524
     525          $conf["data"] = $data;
     526          $data["roles"] = implode(',', ( array )$current_user->roles);
     527          $conf['data'] = $data;
    514528        }
    515529      }
Note: See TracChangeset for help on using the changeset viewer.