Changeset 8318 for trunk/bp-members/bp-members-actions.php
- Timestamp:
- 04/24/2014 09:59:12 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-members/bp-members-actions.php
r7562 r8318 16 16 17 17 /** 18 * Catch a "Mark as Spammer/Not Spammer" click from the toolbar. 19 * 18 20 * When a site admin selects "Mark as Spammer/Not Spammer" from the admin menu 19 21 * this action will fire and mark or unmark the user and their blogs as spam. 20 22 * Must be a site admin for this function to run. 21 23 * 22 * @package BuddyPress Core 23 * @param int $user_id Optional user ID to mark as spam 24 * @global object $wpdb Global WordPress Database object 24 * Note: no longer used in the current state. See the Settings component. 25 * 26 * @param int $user_id Optional. User ID to mark as spam. Defaults to displayed 27 * user. 25 28 */ 26 29 function bp_core_action_set_spammer_status( $user_id = 0 ) { … … 66 69 67 70 /** 68 * Allows a site admin to delete a user from the adminbar menu.71 * Process user deletion requests. 69 72 * 70 * @package BuddyPress Core73 * Note: No longer called here. See the Settings component. 71 74 */ 72 75 function bp_core_action_delete_user() { … … 102 105 103 106 /** 104 * Re turns the user_id for a user based on their username.107 * Redirect to a random member page when visiting a ?random-member URL. 105 108 * 106 * @package BuddyPress Core107 * @param string $username Username to check.108 109 * @since BuddyPress (1.0) 109 110 */
Note: See TracChangeset
for help on using the changeset viewer.