Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/28/2024 03:30:07 AM (3 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/bp-core-update.php

    r13968 r14029  
    862862     * when the BP Classic plugin is not active.
    863863     */
    864     if ( ! function_exists( 'bp_classic' ) ) {
     864    if ( ! bp_is_classic() ) {
    865865        $post_type = bp_core_get_directory_post_type();
    866866
Note: See TracChangeset for help on using the changeset viewer.