Changeset 13096 for trunk/src/bp-messages/actions/compose.php
- Timestamp:
- 08/26/2021 12:53:27 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-messages/actions/compose.php
r11925 r13096 1 1 <?php 2 2 /** 3 * Messages: Compose action handler 3 * Messages: Compose action handler. 4 4 * 5 5 * @package BuddyPress … … 13 13 * @since 2.4.0 This function was split from messages_screen_compose(). See #6505. 14 14 * 15 * @return bool ean15 * @return bool 16 16 */ 17 17 function bp_messages_action_create_message() { … … 65 65 66 66 // Filter recipients into the format we need - array( 'username/userid', 'username/userid' ). 67 $autocomplete_recipients = (array) explode( ',', $_POST['send-to-input'] 67 $autocomplete_recipients = (array) explode( ',', $_POST['send-to-input'] ); 68 68 $typed_recipients = (array) explode( ' ', $_POST['send_to_usernames'] ); 69 69 $recipients = array_merge( $autocomplete_recipients, $typed_recipients ); … … 83 83 'subject' => $_POST['subject'], 84 84 'content' => $_POST['content'], 85 'error_type' => 'wp_error' 85 'error_type' => 'wp_error', 86 86 ) ); 87 87
Note: See TracChangeset
for help on using the changeset viewer.