[buddypress-trac] [BuddyPress Trac] #5990: bp_use_embed_in_private_messages() does nothing

buddypress-trac noreply at wordpress.org
Wed Nov 5 09:24:18 UTC 2014


#5990: bp_use_embed_in_private_messages() does nothing
--------------------------+-----------------------------
 Reporter:  slaFFik       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Messaging     |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 In general what I tried to achieve: give users ability to use oEmbed in
 personal messages.

 There is a filter for this in `bp_use_embed_in_private_messages()`.
 Changing its value to `true` doesn't convert youtube links to embeds in
 private messages just like in activity stream updates. Which is a bit
 annoying.

 Possible reason: `bp_get_the_thread_message_content()` (which has the
 filter oEmbed uses) is not called when ajax posting is submitted. But the
 old messages with the youtube links are not converted as well, so the
 problem is somewhere deeper.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5990>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list