Changeset 13090 for trunk/src/bp-settings/actions/capabilities.php
- Timestamp:
- 08/23/2021 01:13:45 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-settings/actions/capabilities.php
r11926 r13090 1 1 <?php 2 2 /** 3 * Settings: Capabilities action handler 3 * Settings: Capabilities action handler. 4 4 * 5 5 * @package BuddyPress … … 9 9 10 10 /** 11 * Handles the setting of user capabilities, spamming, hamming, role, etc. ..11 * Handles the setting of user capabilities, spamming, hamming, role, etc. 12 12 * 13 13 * @since 1.6.0 … … 52 52 /* Spam **************************************************************/ 53 53 54 $is_spammer = ! empty( $_POST['user-spammer'] ) ? true : false;54 $is_spammer = ! empty( $_POST['user-spammer'] ) ? true : false; 55 55 56 56 if ( bp_is_user_spammer( bp_displayed_user_id() ) != $is_spammer ) {
Note: See TracChangeset
for help on using the changeset viewer.