Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/16/2018 06:14:32 PM (7 years ago)
Author:
djpaul
Message:

Add BuddyPress WP-CLI extension

For 3.0.0, the BP WP-CLI extension is added to the build package version of BuddyPress.
In a future release, its code will be migrated into BuddyPress core itself.

See https://github.com/buddypress/wp-cli-buddypress

Fixes #7604

Huge props to espellcaste, and boonebgorges :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/class-buddypress.php

    r11961 r11978  
    491491            require( $this->plugin_dir . 'bp-core/deprecated/2.9.php' );
    492492            require( $this->plugin_dir . 'bp-core/deprecated/3.0.php' );
     493        }
     494
     495        if ( defined( 'WP_CLI' ) && file_exists( $this->plugin_dir . 'cli/wp-cli-bp.php' ) ) {
     496            require( $this->plugin_dir . 'cli/wp-cli-bp.php' );
    493497        }
    494498    }
Note: See TracChangeset for help on using the changeset viewer.