[buddypress-trac] [BuddyPress] #2707: Support oembed
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Thu Dec 30 02:20:42 UTC 2010
#2707: Support oembed
---------------------+------------------------------------
Reporter: DJPaul | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 1.3
Component: Core | Version: 1.3
Resolution: | Keywords: has-patch dev-feedback
---------------------+------------------------------------
Comment (by r-a-y):
2707.004.patch hooks into the component's loop to grab the object ID and
cache instead of on init.
Patch depends on #2981 (see bp_forums_embed() in bp-core-embed.php).
This approach is cleaner than hooking into init and doing conditional
checks for components.
Could move bp_activity_embed() into bp-activity.php and bp_forums_embed()
into bp-forums.php if desired.
--
Ticket URL: <https://trac.buddypress.org/ticket/2707#comment:8>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list