[buddypress-trac] [BuddyPress Trac] #5987: BP_FORUMS_SLUG doesn't work for groups forums
buddypress-trac
noreply at wordpress.org
Tue Nov 4 15:58:59 UTC 2014
#5987: BP_FORUMS_SLUG doesn't work for groups forums
--------------------------+------------------------------
Reporter: slaFFik | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Forums | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by espellcaste):
Wouldn't it supposed to be the other way around?! Or am I missing
something here?!
{{{
isset( $bp->pages->forums->slug ) ? BP_FORUMS_SLUG :
$bp->pages->forums->slug,
}}}
Use BP_FORUMS_SLUG if available and then a fallback if it's not. In this
case, the default behavior.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5987#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list