[buddypress-trac] [BuddyPress Trac] #6273: global $wp_embed not working on custom post type activity...

buddypress-trac noreply at wordpress.org
Mon Mar 2 16:18:39 UTC 2015

#6273: global $wp_embed not working on custom post type activity...
 Reporter:  revolutionfrance   |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  high               |   Milestone:  2.2.2
Component:  API                |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
Changes (by imath):

 * keywords:   => reporter-feedback



 I'm not sure it's a BuddyPress bug. I'm using `$wp_embed` for one of my
 plugin (BuddyDrive) and it's working fine. In this plugin, i'm using
 `wp_embed_register_handler` see

 What would be an example of the content of `$videotest` ? is it an url ?
 Why do you need to use the WP_Embed->run_shortcode method ?

 How the activity of your custom post type is generated ? using the post
 type activities introduced in 2.2 ? see

 BuddyPress is using a specific class `BP_Embed` which extends `WP_Embed`
 and which is used in the different BuddyPress parts (activity entry,
 message entry...)

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6273#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list