Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/23/2021 01:13:45 AM (3 years ago)
Author:
espellcaste
Message:

Making PHPDoc Improvements to the BP Settings files.

See #8553

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-settings/actions/capabilities.php

    r11926 r13090  
    11<?php
    22/**
    3  * Settings: Capabilities action handler
     3 * Settings: Capabilities action handler.
    44 *
    55 * @package BuddyPress
     
    99
    1010/**
    11  * Handles the setting of user capabilities, spamming, hamming, role, etc...
     11 * Handles the setting of user capabilities, spamming, hamming, role, etc.
    1212 *
    1313 * @since 1.6.0
     
    5252    /* Spam **************************************************************/
    5353
    54     $is_spammer = !empty( $_POST['user-spammer'] ) ? true : false;
     54    $is_spammer = ! empty( $_POST['user-spammer'] ) ? true : false;
    5555
    5656    if ( bp_is_user_spammer( bp_displayed_user_id() ) != $is_spammer ) {
Note: See TracChangeset for help on using the changeset viewer.