Skip to:
Content

BuddyPress.org

Changeset 4200


Ignore:
Timestamp:
04/11/2011 12:48:12 PM (10 years ago)
Author:
boonebgorges
Message:

Ensures that make_clickable is run before wptexturize in content filters. Fixes #2443

Location:
trunk
Files:
5 edited

Legend:

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

    r3751 r4200  
    4747add_filter( 'bp_get_activity_feed_item_description', 'wpautop' );
    4848
    49 add_filter( 'bp_get_activity_action',                'make_clickable' );
    50 add_filter( 'bp_get_activity_content_body',          'make_clickable' );
    51 add_filter( 'bp_get_activity_content',               'make_clickable' );
    52 add_filter( 'bp_get_activity_parent_content',        'make_clickable' );
    53 add_filter( 'bp_get_activity_latest_update',         'make_clickable' );
    54 add_filter( 'bp_get_activity_latest_update_excerpt', 'make_clickable' );
    55 add_filter( 'bp_get_activity_feed_item_description', 'make_clickable' );
     49add_filter( 'bp_get_activity_action',                'make_clickable', 9 );
     50add_filter( 'bp_get_activity_content_body',          'make_clickable', 9 );
     51add_filter( 'bp_get_activity_content',               'make_clickable', 9 );
     52add_filter( 'bp_get_activity_parent_content',        'make_clickable', 9 );
     53add_filter( 'bp_get_activity_latest_update',         'make_clickable', 9 );
     54add_filter( 'bp_get_activity_latest_update_excerpt', 'make_clickable', 9 );
     55add_filter( 'bp_get_activity_feed_item_description', 'make_clickable', 9 );
    5656
    5757add_filter( 'bp_acomment_name',                      'stripslashes_deep' );
  • trunk/bp-forums/bp-forums-filters.php

    r4118 r4200  
    3737add_filter( 'bp_get_the_topic_object_name', 'stripslashes_deep' );
    3838
    39 add_filter( 'bp_get_the_topic_post_content', 'make_clickable' );
     39add_filter( 'bp_get_the_topic_post_content', 'make_clickable', 9 );
    4040
    4141add_filter( 'bp_get_forum_topic_count_for_user', 'bp_core_number_format' );
  • trunk/bp-groups/bp-groups-filters.php

    r4007 r4200  
    1616add_filter( 'bp_get_group_description_excerpt', 'wpautop' );
    1717
    18 add_filter( 'bp_get_group_description',         'make_clickable' );
    19 add_filter( 'bp_get_group_description_excerpt', 'make_clickable' );
     18add_filter( 'bp_get_group_description',         'make_clickable', 9 );
     19add_filter( 'bp_get_group_description_excerpt', 'make_clickable', 9 );
    2020
    2121add_filter( 'bp_get_group_name',                    'wp_filter_kses', 1 );
  • trunk/bp-messages/bp-messages-filters.php

    r3300 r4200  
    4141add_filter( 'bp_get_the_thread_message_content', 'convert_chars' );
    4242
    43 add_filter( 'bp_get_message_notice_text', 'make_clickable' );
    44 add_filter( 'bp_get_message_thread_excerpt', 'make_clickable' );
    45 add_filter( 'bp_get_the_thread_message_content', 'make_clickable' );
     43add_filter( 'bp_get_message_notice_text', 'make_clickable', 9 );
     44add_filter( 'bp_get_message_thread_excerpt', 'make_clickable', 9 );
     45add_filter( 'bp_get_the_thread_message_content', 'make_clickable', 9 );
    4646
    4747add_filter( 'bp_get_message_notice_text', 'wpautop' );
  • trunk/bp-xprofile/bp-xprofile-filters.php

    r4088 r4200  
    1212add_filter( 'bp_get_the_profile_field_value',         'convert_chars'      );
    1313add_filter( 'bp_get_the_profile_field_value',         'wpautop'            );
    14 add_filter( 'bp_get_the_profile_field_value',         'make_clickable'     );
     14add_filter( 'bp_get_the_profile_field_value',         'make_clickable', 9  );
    1515add_filter( 'bp_get_the_profile_field_value',         'force_balance_tags' );
    1616
Note: See TracChangeset for help on using the changeset viewer.