Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/26/2021 12:53:27 AM (5 years ago)
Author:
espellcaste
Message:

Making PHPDoc Improvements to the BP Messages (component) files.

Also, adding several minor PHP changes.

See #8553

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-messages/actions/compose.php

    r11925 r13096  
    11<?php
    22/**
    3  * Messages: Compose action handler
     3 * Messages: Compose action handler.
    44 *
    55 * @package BuddyPress
     
    1313 * @since 2.4.0 This function was split from messages_screen_compose(). See #6505.
    1414 *
    15  * @return boolean
     15 * @return bool
    1616 */
    1717function bp_messages_action_create_message() {
     
    6565
    6666                        // 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'] );
    6868                        $typed_recipients        = (array) explode( ' ', $_POST['send_to_usernames'] );
    6969                        $recipients              = array_merge( $autocomplete_recipients, $typed_recipients );
     
    8383                                'subject'    => $_POST['subject'],
    8484                                'content'    => $_POST['content'],
    85                                 'error_type' => 'wp_error'
     85                                'error_type' => 'wp_error',
    8686                        ) );
    8787
Note: See TracChangeset for help on using the changeset viewer.