- Timestamp:
- 06/01/2024 04:26:18 PM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/includes/messages/ajax.php
r13510 r13878 10 10 defined( 'ABSPATH' ) || exit; 11 11 12 add_action( 'admin_init', function () {12 add_action( 'admin_init', function () { 13 13 $ajax_actions = array( 14 14 array( … … 138 138 * @param array $value Array of un-trimmed usernames submitted. 139 139 */ 140 $recipients = apply_filters( 'bp_messages_recipients', array_map( function ( $username ) {140 $recipients = apply_filters( 'bp_messages_recipients', array_map( function ( $username ) { 141 141 return trim( $username, '@' ); 142 142 }, $_POST['send_to'] ) );
Note: See TracChangeset
for help on using the changeset viewer.