Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/08/2011 06:35:03 AM (14 years ago)
Author:
johnjamesjacoby
Message:

More auditing of _slug and _root_slug functions.

Introduce functions for updating '$bp->is_' globals to prevent loading $bp global in several functions.

Various phpDoc fixes and whitespace clean-up. (1.3 trunk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-screens.php

    r4012 r4088  
    1010
    1111function groups_directory_groups_setup() {
    12     global $bp;
    13 
    1412    if ( bp_is_groups_component() && !bp_current_action() && !bp_current_item() ) {
    15         $bp->is_directory = true;
     13        bp_update_is_directory( true, 'groups' );
    1614
    1715        do_action( 'groups_directory_groups_setup' );
Note: See TracChangeset for help on using the changeset viewer.