Skip to:
Content

BuddyPress.org

Changeset 388 for trunk/bp-groups.php


Ignore:
Timestamp:
10/10/2008 11:47:28 PM (17 years ago)
Author:
apeatling
Message:

Fixed issues with 404's on group pages with sub directory installations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups.php

    r380 r388  
    232232function groups_get_group_theme() {
    233233    global $current_component, $current_action, $is_single_group;
    234    
     234       
    235235    // The theme filter does not recognize any globals, where as the stylesheet filter does.
    236236    // We have to set up the globals to use manually.
     
    800800                do_action( 'groups_created_group', array( 'group_id' => $group->id ) );
    801801               
    802                 header( "Location: " . $bp['loggedin_domain'] . $bp['groups']['slug'] . "/" . $group->slug );
     802                header( "Location: " . bp_group_permalink( $group, false ) );
    803803               
    804804            break;
Note: See TracChangeset for help on using the changeset viewer.