Changeset 10852
- Timestamp:
- 06/01/2016 04:34:39 PM (8 years ago)
- Location:
- trunk/src/bp-activity
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-embeds.php
r10851 r10852 23 23 buddypress()->activity->oembed = new BP_Activity_oEmbed_Extension; 24 24 } 25 26 add_filter( 'bp_activity_get_embed_excerpt', 'wptexturize' );27 add_filter( 'bp_activity_get_embed_excerpt', 'convert_chars' );28 add_filter( 'bp_activity_get_embed_excerpt', 'make_clickable', 9 );29 add_filter( 'bp_activity_get_embed_excerpt', 'bp_activity_embed_excerpt_onclick_location_filter' );30 add_filter( 'bp_activity_get_embed_excerpt', 'bp_activity_at_name_filter' );31 add_filter( 'bp_activity_get_embed_excerpt', 'convert_smilies', 20 );32 add_filter( 'bp_activity_get_embed_excerpt', 'wpautop', 30 );33 25 } 34 26 add_action( 'bp_loaded', 'bp_activity_setup_oembed' ); -
trunk/src/bp-activity/bp-activity-filters.php
r10850 r10852 44 44 add_filter( 'bp_get_activity_latest_update', 'wptexturize' ); 45 45 add_filter( 'bp_get_activity_latest_update_excerpt', 'wptexturize' ); 46 add_filter( 'bp_activity_get_embed_excerpt', 'wptexturize' ); 46 47 47 48 add_filter( 'bp_get_activity_action', 'convert_smilies' ); … … 51 52 add_filter( 'bp_get_activity_latest_update', 'convert_smilies' ); 52 53 add_filter( 'bp_get_activity_latest_update_excerpt', 'convert_smilies' ); 54 add_filter( 'bp_activity_get_embed_excerpt', 'convert_smilies' ); 53 55 54 56 add_filter( 'bp_get_activity_action', 'convert_chars' ); … … 58 60 add_filter( 'bp_get_activity_latest_update', 'convert_chars' ); 59 61 add_filter( 'bp_get_activity_latest_update_excerpt', 'convert_chars' ); 62 add_filter( 'bp_activity_get_embed_excerpt', 'convert_chars' ); 60 63 61 64 add_filter( 'bp_get_activity_action', 'wpautop' ); … … 63 66 add_filter( 'bp_get_activity_content', 'wpautop' ); 64 67 add_filter( 'bp_get_activity_feed_item_description', 'wpautop' ); 68 add_filter( 'bp_activity_get_embed_excerpt', 'wpautop' ); 65 69 66 70 add_filter( 'bp_get_activity_action', 'make_clickable', 9 ); … … 71 75 add_filter( 'bp_get_activity_latest_update_excerpt', 'make_clickable', 9 ); 72 76 add_filter( 'bp_get_activity_feed_item_description', 'make_clickable', 9 ); 77 add_filter( 'bp_activity_get_embed_excerpt', 'make_clickable', 9 ); 73 78 74 79 add_filter( 'bp_acomment_name', 'stripslashes_deep', 5 ); … … 95 100 add_filter( 'group_forum_post_text_before_save', 'bp_activity_at_name_filter' ); 96 101 add_filter( 'the_content', 'bp_activity_at_name_filter' ); 102 add_filter( 'bp_activity_get_embed_excerpt', 'bp_activity_at_name_filter' ); 97 103 98 104 add_filter( 'bp_get_activity_parent_content', 'bp_create_excerpt' ); … … 103 109 add_filter( 'bp_get_total_favorite_count_for_user', 'bp_core_number_format' ); 104 110 add_filter( 'bp_get_total_mention_count_for_user', 'bp_core_number_format' ); 111 112 add_filter( 'bp_activity_get_embed_excerpt', 'bp_activity_embed_excerpt_onclick_location_filter', 9 ); 105 113 106 114 /* Actions *******************************************************************/
Note: See TracChangeset
for help on using the changeset viewer.