Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/11/2018 03:38:01 PM (8 years ago)
Author:
djpaul
Message:

Templates, Nouveau: whitespace changes.

File:
1 edited

Legend:

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

    r11686 r11855  
    6868                // Notices
    6969                add_action( 'widgets_init', 'bp_nouveau_unregister_notices_widget' );
    70                 add_action( 'bp_init',      'bp_nouveau_push_sitewide_notices', 99 );
     70                add_action( 'bp_init', 'bp_nouveau_push_sitewide_notices', 99 );
    7171
    7272                // Messages
     
    9999
    100100                // Notices
    101                 add_filter( 'bp_messages_single_new_message_notification', 'bp_nouveau_format_notice_notification_for_user',  10, 1 );
     101                add_filter( 'bp_messages_single_new_message_notification', 'bp_nouveau_format_notice_notification_for_user', 10, 1 );
    102102                add_filter( 'bp_notifications_get_all_notifications_for_user', 'bp_nouveau_add_notice_notification_for_user', 10, 2 );
    103103
     
    105105                add_filter( 'bp_messages_admin_nav', 'bp_nouveau_messages_adjust_admin_nav', 10, 1 );
    106106
    107                 remove_filter( 'messages_notice_message_before_save',  'wp_filter_kses', 1 );
     107                remove_filter( 'messages_notice_message_before_save', 'wp_filter_kses', 1 );
    108108                remove_filter( 'messages_message_content_before_save', 'wp_filter_kses', 1 );
    109                 remove_filter( 'bp_get_the_thread_message_content',    'wp_filter_kses', 1 );
     109                remove_filter( 'bp_get_the_thread_message_content', 'wp_filter_kses', 1 );
    110110
    111                 add_filter( 'messages_notice_message_before_save',  'wp_filter_post_kses', 1 );
     111                add_filter( 'messages_notice_message_before_save', 'wp_filter_post_kses', 1 );
    112112                add_filter( 'messages_message_content_before_save', 'wp_filter_post_kses', 1 );
    113                 add_filter( 'bp_get_the_thread_message_content',    'wp_filter_post_kses', 1 );
    114                 add_filter( 'bp_get_message_thread_content',        'wp_filter_post_kses', 1 );
    115                 add_filter( 'bp_get_message_thread_content',        'wptexturize'            );
    116                 add_filter( 'bp_get_message_thread_content',        'stripslashes_deep',  1 );
    117                 add_filter( 'bp_get_message_thread_content',        'convert_smilies',    2 );
    118                 add_filter( 'bp_get_message_thread_content',        'convert_chars'          );
    119                 add_filter( 'bp_get_message_thread_content',        'make_clickable',      9 );
    120                 add_filter( 'bp_get_message_thread_content',        'wpautop'                );
     113                add_filter( 'bp_get_the_thread_message_content', 'wp_filter_post_kses', 1 );
     114                add_filter( 'bp_get_message_thread_content', 'wp_filter_post_kses', 1 );
     115                add_filter( 'bp_get_message_thread_content', 'wptexturize' );
     116                add_filter( 'bp_get_message_thread_content', 'stripslashes_deep', 1 );
     117                add_filter( 'bp_get_message_thread_content', 'convert_smilies', 2 );
     118                add_filter( 'bp_get_message_thread_content', 'convert_chars' );
     119                add_filter( 'bp_get_message_thread_content', 'make_clickable', 9 );
     120                add_filter( 'bp_get_message_thread_content', 'wpautop' );
    121121        }
    122122}
Note: See TracChangeset for help on using the changeset viewer.