Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/22/2024 02:16:15 AM (9 months ago)
Author:
imath
Message:

Resolve Multiple Issues with the BuddyPress Constants panel

  • Make sure the BP_XPROFILE_BASE_GROUP_NAME & BP_XPROFILE_FULLNAME_FIELD_NAME are defined before using them
  • Use the right option name to set the BP_XPROFILE_BASE_GROUP_NAME
  • Include BP_EMBED_DISABLE_ACTIVITY into the BuddyPress Constants panel
  • Remove the deprecated mention from BP_FORUMS_PARENT_FORUM_ID, BP_FORUMS_SLUG & BP_SEARCH_SLUG constants.

Props emaralive

Fixes #9245 (branch 14.0)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/14.0/src/bp-xprofile/classes/class-bp-xprofile-component.php

    r13503 r14050  
    149149        // Defined conditionally to accommodate unit tests.
    150150        if ( ! defined( 'BP_XPROFILE_BASE_GROUP_NAME' ) ) {
    151             define( 'BP_XPROFILE_BASE_GROUP_NAME', stripslashes( bp_core_get_root_option( 'avatar_default' ) ) );
     151            define( 'BP_XPROFILE_BASE_GROUP_NAME', stripslashes( bp_core_get_root_option( 'bp-xprofile-base-group-name' ) ) );
    152152        }
    153153
Note: See TracChangeset for help on using the changeset viewer.