Changeset 10849
- Timestamp:
- 06/01/2016 03:38:07 PM (9 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-classes.php
r10838 r10849 17 17 // Embeds - only applicable for WP 4.5+ 18 18 if ( bp_get_major_wp_version() >= 4.5 && bp_is_active( 'activity', 'embeds' ) ) { 19 require dirname( __FILE__ ) . '/classes/class-bp-activity-oembed- component.php';19 require dirname( __FILE__ ) . '/classes/class-bp-activity-oembed-extension.php'; 20 20 } -
trunk/src/bp-activity/bp-activity-embeds.php
r10845 r10849 21 21 function bp_activity_setup_oembed() { 22 22 if ( bp_get_major_wp_version() >= 4.5 && bp_is_active( 'activity', 'embeds' ) ) { 23 buddypress()->activity->oembed = new BP_Activity_oEmbed_ Component;23 buddypress()->activity->oembed = new BP_Activity_oEmbed_Extension; 24 24 } 25 25 -
trunk/src/bp-activity/classes/class-bp-activity-oembed-extension.php
r10848 r10849 10 10 defined( 'ABSPATH' ) || exit; 11 11 12 require_once( buddypress()->plugin_dir . '/bp-core/classes/class-bp-oembed-component.php' );13 14 12 /** 15 13 * oEmbed handler to respond and render single activity items. … … 17 15 * @since 2.6.0 18 16 */ 19 class BP_Activity_oEmbed_ Component extends BP_oEmbed_Component{17 class BP_Activity_oEmbed_Extension extends BP_Core_oEmbed_Extension { 20 18 /** 21 19 * Custom oEmbed slug endpoint. -
trunk/src/bp-core/bp-core-classes.php
r10745 r10849 33 33 require dirname( __FILE__ ) . '/classes/class-bp-core-nav.php'; 34 34 require dirname( __FILE__ ) . '/classes/class-bp-core-nav-item.php'; 35 require dirname( __FILE__ ) . '/classes/class-bp-core-oembed-extension.php'; 35 36 36 37 if ( buddypress()->do_nav_backcompat ) { -
trunk/src/bp-core/classes/class-bp-core-oembed-extension.php
r10848 r10849 15 15 * @since 2.6.0 16 16 */ 17 abstract class BP_ oEmbed_Component{17 abstract class BP_Core_oEmbed_Extension { 18 18 19 19 /** START PROPERTIES ****************************************************/
Note: See TracChangeset
for help on using the changeset viewer.