Skip to:
Content

BuddyPress.org

Changeset 4268


Ignore:
Timestamp:
04/23/2011 09:06:47 PM (13 years ago)
Author:
boonebgorges
Message:

Use root_slug when creating forum tag hrefs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-forums/bp-forums-filters.php

    r4200 r4268  
    7676    global $bp;
    7777
    78     return apply_filters( 'bp_forums_filter_tag_link', bp_get_root_domain() . '/' . $bp->forums->slug . '/tag/' . $tag . '/' );
     78    return apply_filters( 'bp_forums_filter_tag_link', bp_get_root_domain() . '/' . $bp->forums->root_slug . '/tag/' . $tag . '/' );
    7979}
    8080add_filter( 'bb_get_tag_link', 'bp_forums_filter_tag_link', 10, 4);
Note: See TracChangeset for help on using the changeset viewer.