Ticket #2572: 2572-tools.php.patch
File 2572-tools.php.patch, 554 bytes (added by , 11 years ago) |
---|
-
wp-content/plugins/bbpress-org/tools.php
100 104 } 101 105 } 102 106 107 // Delete the users description from their profile 108 $user_description = get_user_meta( $user_id, 'description'); 109 if ( !empty( $user_description ) ) { 110 delete_user_meta ( $user_id, 'description'); 111 } 112 103 113 // Block the user 104 114 bbp_set_user_role( $user_id, bbp_get_blocked_role() ); 105 115