Skip to:
Content

BuddyPress.org

Changeset 1154


Ignore:
Timestamp:
02/25/2009 05:10:39 AM (15 years ago)
Author:
apeatling
Message:

Fixes #526

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-filters.php

    r1052 r1154  
    22
    33/* Apply WordPress defined filters */
     4add_filter( 'bp_activity_content', 'wp_filter_kses', 1 );
     5
    46add_filter( 'bp_activity_content', 'wptexturize' );
    57
  • trunk/bp-groups/bp-groups-filters.php

    r1052 r1154  
    2323add_filter( 'bp_group_news', 'make_clickable' );
    2424
     25add_filter( 'bp_group_description', 'wp_filter_kses', 1 );
     26add_filter( 'bp_group_description_excerpt', 'wp_filter_kses', 1 );
     27add_filter( 'bp_group_news', 'wp_filter_kses', 1 );
     28add_filter( 'bp_group_name', 'wp_filter_kses', 1 );
     29
    2530?>
  • trunk/bp-messages/bp-messages-filters.php

    r1052 r1154  
    3434add_filter( 'bp_message_content', 'stripslashes_deep' );
    3535
     36add_filter( 'bp_message_notice_subject', 'wp_filter_kses', 1 );
     37add_filter( 'bp_message_notice_text', 'wp_filter_kses', 1 );
     38add_filter( 'bp_message_thread_subject', 'wp_filter_kses', 1 );
     39add_filter( 'bp_message_thread_excerpt', 'wp_filter_kses', 1 );
     40add_filter( 'bp_messages_subject_value', 'wp_filter_kses', 1 );
     41add_filter( 'bp_messages_content_value', 'wp_filter_kses', 1 );
     42add_filter( 'bp_message_content', 'wp_filter_kses', 1 );
     43
    3644?>
  • trunk/bp-wire/bp-wire-filters.php

    r1052 r1154  
    1414add_filter( 'bp_wire_post_content', 'make_clickable' );
    1515
     16add_filter( 'bp_wire_post_content', 'wp_filter_kses', 1 );
     17
    1618?>
  • trunk/bp-xprofile/bp-xprofile-filters.php

    r1055 r1154  
    22
    33/* Apply WordPress defined filters */
     4add_filter( 'bp_the_profile_field_value', 'wp_filter_kses', 1 );
    45add_filter( 'bp_the_profile_field_value', 'wptexturize' );
    56add_filter( 'bp_the_profile_field_value', 'convert_smilies' );
     
    89add_filter( 'bp_the_profile_field_value', 'make_clickable' );
    910add_filter( 'bp_the_profile_field_value', 'xprofile_filter_format_field_value', 1, 2 );
     11add_filter( 'bp_the_profile_field_value', 'xprofile_filter_link_profile_data', 2, 3 );
    1012
    1113add_filter( 'bp_the_profile_field_type', 'wptexturize' );
    1214add_filter( 'bp_the_profile_field_type', 'convert_smilies' );
    1315add_filter( 'bp_the_profile_field_type', 'convert_chars' );
    14 add_filter( 'bp_the_profile_field_value', 'xprofile_filter_link_profile_data', 2, 3 );
     16
    1517
    1618/* Custom BuddyPress filters */
Note: See TracChangeset for help on using the changeset viewer.