[buddypress-trac] [BuddyPress Trac] #6772: BuddyPress Embeds for activity, user profiles, groups

buddypress-trac noreply at wordpress.org
Tue May 31 07:29:31 UTC 2016


#6772: BuddyPress Embeds for activity, user profiles, groups
-------------------------------------------+------------------
 Reporter:  imath                          |       Owner:
     Type:  idea                           |      Status:  new
 Priority:  normal                         |   Milestone:  2.6
Component:  API                            |     Version:
 Severity:  normal                         |  Resolution:
 Keywords:  dev-feedback has-patch commit  |
-------------------------------------------+------------------

Comment (by r-a-y):

 In [changeset:"10838"]:
 {{{
 #!CommitTicketReference repository="" revision="10838"
 Activity: Add Embeds support to single activity items.

 Much like the Post Embeds feature introduced in WordPress 4.4, this commit
 adds support for single activity URLs to be auto-discovered by oEmbed
 consumers.

 This allows activity URLs to be rendered into an embeddable format on
 third-party websites.

 Specifically, this commit:
 - Introduces the `BP_Activity_oEmbed_Component` class, which hooks into
 WordPress' oEmbed provider API via the `BP_oEmbed_Component` class.
 - Renders oEmbed requests for single activity items into a template
 suitable for embedding.
 - Introduces embed template parts into bp-legacy - `/bp-templates/bp-
 legacy/buddypress/assets/embeds/`

 See #6772.
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6772#comment:59>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list