Skip to:
Content

bbPress.org

Ticket #2572: 2572-tools.php.patch

File 2572-tools.php.patch, 554 bytes (added by netweb, 8 years ago)
  • wp-content/plugins/bbpress-org/tools.php

     
    100104                }
    101105        }
    102106
     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
    103113        // Block the user
    104114        bbp_set_user_role( $user_id, bbp_get_blocked_role() );
    105115