[buddypress-trac] [BuddyPress Trac] #6962: Profile Cover not working when we define a custom BP_XPROFILE_SLUG
buddypress-trac
noreply at wordpress.org
Thu Mar 17 07:37:05 UTC 2016
#6962: Profile Cover not working when we define a custom BP_XPROFILE_SLUG
-------------------------------------+-----------------------------
Reporter: Maniou | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: Awaiting Review
Component: Component - Attachments | Version: 2.5.0
Severity: normal | Keywords:
-------------------------------------+-----------------------------
Hello,
When we define a custom BP_XPROFILE_SLUG for example :
{{{#!php
define ( 'BP_XPROFILE_SLUG', 'profil' );
}}}
The profil cover is not working because of this condition in
'''/buddypress/bp-core/bp-core-attachments.php''' line 1036
{{{#!php
if ( 'profile' === $current_component ) {
}}}
Can we compare with the name of the custom profil slug instead of the
hardcoded '''profile''' text ?
Thank you !
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6962>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list