- Timestamp:
- 06/01/2016 04:27:58 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/classes/class-bp-activity-component.php
r10838 r10851 75 75 76 76 // Embeds - only applicable for WP 4.5+ 77 if ( bp_get_major_wp_version() >= 4.5&& bp_is_active( $this->id, 'embeds' ) ) {77 if ( version_compare( $GLOBALS['wp_version'], '4.5', '>=' ) && bp_is_active( $this->id, 'embeds' ) ) { 78 78 $includes[] = 'embeds'; 79 79 }
Note: See TracChangeset
for help on using the changeset viewer.