Changeset 11957 for trunk/src/bp-activity/bp-activity-embeds.php
- Timestamp:
- 04/05/2018 02:43:31 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-embeds.php
r11956 r11957 20 20 */ 21 21 function bp_activity_setup_oembed() { 22 if ( version_compare( $GLOBALS['wp_version'], '4.5', '>=' ) && bp_is_active( 'activity', 'embeds' ) ) { 23 buddypress()->activity->oembed = new BP_Activity_oEmbed_Extension; 24 } 22 buddypress()->activity->oembed = new BP_Activity_oEmbed_Extension; 25 23 } 26 24 add_action( 'bp_loaded', 'bp_activity_setup_oembed' );
Note: See TracChangeset
for help on using the changeset viewer.