Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/28/2024 03:30:07 AM (2 months ago)
Author:
espellcaste
Message:

Update the conditional that check if bp_classic is available.

Previously, we only checked if the bp_classic function was available, without checking if the plugin was also active.

Props imath, narenin, samedwards, and espellcaste.

Fixes #9181
Closes https://github.com/buddypress/buddypress/pull/371

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/deprecated/12.0.php

    r13877 r14029  
    1111
    1212// These functions has been moved to the BP Classic plugin.
    13 if ( ! function_exists( 'bp_classic' ) ) {
     13if ( ! bp_is_classic() ) {
    1414    /**
    1515     * Analyze the URI and break it down into BuddyPress-usable chunks.
Note: See TracChangeset for help on using the changeset viewer.