Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/26/2014 06:09:27 AM (11 years ago)
Author:
r-a-y
Message:

Fix oEmbed in private messages.

oEmbed caching for private messages will be in the next commit.

See #5990.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-messages/bp-messages-template.php

    r9183 r9187  
    20082008 */
    20092009function bp_messages_embed() {
    2010     add_filter( 'embed_post_id', 'bp_get_message_thread_id' );
    2011 }
    2012 add_action( 'messages_box_loop_start', 'bp_messages_embed' );
     2010    add_filter( 'embed_post_id', 'bp_get_the_thread_message_id' );
     2011}
     2012add_action( 'thread_loop_start', 'bp_messages_embed' );
Note: See TracChangeset for help on using the changeset viewer.