Skip to:
Content

BuddyPress.org

Changeset 10707


Ignore:
Timestamp:
04/14/2016 08:42:44 PM (8 years ago)
Author:
r-a-y
Message:

Cover Image: Fix issue when a custom BP_XPROFILE_SLUG is in use.

Fixes #6962.

File:
1 edited

Legend:

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

    r10641 r10707  
    10341034
    10351035    $current_component = bp_current_component();
    1036     if ( 'profile' === $current_component ) {
     1036    if ( bp_is_active( 'xprofile' ) && bp_is_current_component( 'xprofile' ) ) {
    10371037        $current_component = 'xprofile';
    10381038    }
Note: See TracChangeset for help on using the changeset viewer.