Plugin Directory

Changeset 692893


Ignore:
Timestamp:
04/06/2013 09:53:15 PM (13 years ago)
Author:
antonchanning
Message:

Added support for private messages in buddypress.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bbpress-bbcode/trunk/class_bbpress2-bbcode.php

    r692852 r692893  
    8080            add_filter( 'bp_get_activity_content_body', 'do_shortcode', 1 ); //Warning, doing it this way adds ALL shortcodes to activity stream
    8181            add_filter( 'bp_get_the_topic_post_content', 'do_shortcode' ); //Warning, doing it this way adds ALL shortcodes to group forum posts
     82            add_filter( 'bp_get_the_thread_message_content', 'do_shortcode' ); //Warning, doing it this way yadda yadda
    8283        }
    8384    }
     
    303304    // bOingball - youtube shortcode - modded by Anton Channing
    304305    function shortcode_youtube( $atts = array(), $content = NULL ) {
    305 echo 'YOUTUBE';
    306306        if ( "" === $content ) return __('No YouTube Video ID Set');
    307307        $id = $text = $content;
Note: See TracChangeset for help on using the changeset viewer.