Ticket #7933: 7933.01.patch
| File 7933.01.patch, 582 bytes (added by , 7 years ago) |
|---|
-
src/class-buddypress.php
508 508 require( $this->plugin_dir . 'bp-core/deprecated/3.0.php' ); 509 509 } 510 510 511 if ( defined( 'WP_CLI' ) && file_exists( $this->plugin_dir . 'cli/wp-cli-bp.php' ) ) { 511 // Load wp-cli module if PHP 5.4+ 512 if ( defined( 'WP_CLI' ) && file_exists( $this->plugin_dir . 'cli/wp-cli-bp.php' ) && version_compare( phpversion(), '5.4.0', '>=' ) ) { 512 513 require( $this->plugin_dir . 'cli/wp-cli-bp.php' ); 513 514 } 514 515 }