Changeset 12737 for trunk/src/class-buddypress.php
- Timestamp:
- 09/26/2020 06:11:39 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/class-buddypress.php
r12730 r12737 514 514 } 515 515 516 // Load wp-cli module if PHP 5.4+. 517 if ( defined( 'WP_CLI' ) && file_exists( $this->plugin_dir . 'cli/wp-cli-bp.php' ) && version_compare( phpversion(), '5.4.0', '>=' ) ) { 516 // Load wp-cli module if PHP 5.6+. 517 if ( 518 defined( 'WP_CLI' ) 519 && ! class_exists( 'Buddypress\CLI\Command\BuddypressCommand' ) 520 && file_exists( $this->plugin_dir . 'cli/wp-cli-bp.php' ) 521 && version_compare( phpversion(), '5.6.0', '>=' ) ) { 518 522 require( $this->plugin_dir . 'cli/wp-cli-bp.php' ); 519 523 }
Note: See TracChangeset
for help on using the changeset viewer.