Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/01/2024 04:26:18 PM (13 months ago)
Author:
espellcaste
Message:

WPCS: The modified code addresses all Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword and Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction issues specific to the foreach and function examples.

See #7228

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/includes/messages/ajax.php

    r13510 r13878  
    1010defined( 'ABSPATH' ) || exit;
    1111
    12 add_action( 'admin_init', function() {
     12add_action( 'admin_init', function () {
    1313    $ajax_actions = array(
    1414        array(
     
    138138     * @param array $value Array of un-trimmed usernames submitted.
    139139     */
    140     $recipients = apply_filters( 'bp_messages_recipients', array_map( function( $username ) {
     140    $recipients = apply_filters( 'bp_messages_recipients', array_map( function ( $username ) {
    141141        return trim( $username, '@' );
    142142    }, $_POST['send_to'] ) );
Note: See TracChangeset for help on using the changeset viewer.