Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/12/2018 08:52:21 PM (6 years ago)
Author:
djpaul
Message:

Templates, Nouveau: function argument indentation tweaks, and minor code standards.

File:
1 edited

Legend:

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

    r11855 r11856  
    287287
    288288        if ( empty( $bp->template_message ) ) {
    289             $message = sprintf( '<strong class="subject">%s</strong>
     289            $message = sprintf(
     290                '<strong class="subject">%s</strong>
    290291                %s',
    291292                stripslashes( $notice->subject ),
     
    386387
    387388            if ( isset( $match[1] ) && isset( $match[2] ) ) {
    388                 $bulk_actions[] = array( 'value' => trim( $match[1] ), 'label' => trim( $match[2] ) );
     389                $bulk_actions[] = array(
     390                    'value' => trim( $match[1] ),
     391                    'label' => trim( $match[2] ),
     392                );
    389393            }
    390394        }
     
    400404 */
    401405function bp_nouveau_messages_notification_filters() {
    402     bp_nouveau_notifications_register_filter( array(
    403         'id'       => 'new_message',
    404         'label'    => __( 'New private messages', 'buddypress' ),
    405         'position' => 115,
    406     ) );
    407 }
     406    bp_nouveau_notifications_register_filter(
     407        array(
     408            'id'       => 'new_message',
     409            'label'    => __( 'New private messages', 'buddypress' ),
     410            'position' => 115,
     411        )
     412    );
     413}
Note: See TracChangeset for help on using the changeset viewer.