Changeset 2492538
- Timestamp:
- 03/10/2021 06:48:35 PM (5 years ago)
- File:
-
- 1 edited
-
announcekit/trunk/index.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
announcekit/trunk/index.php
r2475667 r2492538 5 5 * Plugin URI: https://announcekit.app/docs 6 6 * Description: Beautifully designed newsfeed powered with fancy widgets and email notifications. 7 * Version: 2.0. 67 * Version: 2.0.7 8 8 * Text Domain: announcekit 9 9 * Author: AnnounceKit 10 10 * Author URI: https://announcekit.app 11 * Tested up to: 5. 411 * Tested up to: 5.5.3 12 12 * License: GNUGPLv3 13 13 * License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 512 512 "login" => $current_user->user_login 513 513 ]; 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; 514 528 } 515 529 }
Note: See TracChangeset
for help on using the changeset viewer.