Skip to:
Content

bbPress.org

Ticket #3174: 3174.diff

File 3174.diff, 441 bytes (added by espellcaste, 3 years ago)
  • src/bbpress.php

     
    378378                /** Admin *************************************************************/
    379379
    380380                // Quick admin check and load if needed
    381                 if ( is_admin() ) {
     381                if ( is_admin() || defined( 'WP_CLI' ) ) {
    382382                        require $this->includes_dir . 'admin/actions.php';
    383383                }
    384384        }