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-actions.php

    r13686 r14029  
    123123
    124124    // Fire a deprecation notice for following deprecated hooks, if needed.
    125     if ( ! function_exists( 'bp_classic' ) ) {
     125    if ( ! bp_is_classic() ) {
    126126        apply_filters_deprecated( 'bp_uri', array( '' ), '12.0.0' );
    127127        do_action_deprecated( 'is_not_buddypress', array(), '12.0.0' );
Note: See TracChangeset for help on using the changeset viewer.