Skip to:
Content

BuddyPress.org

Changeset 1809 for trunk/bp-groups.php


Ignore:
Timestamp:
09/07/2009 06:46:37 PM (16 years ago)
Author:
apeatling
Message:

Fixes #983

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups.php

    r1801 r1809  
    293293    do_action( 'groups_setup_nav', $bp->groups->current_group->user_has_access );
    294294}
    295 add_action( 'wp', 'groups_setup_nav', 2 );
    296 add_action( 'admin_menu', 'groups_setup_nav', 2 );
     295add_action( 'plugins_loaded', 'groups_setup_nav' );
     296add_action( 'admin_menu', 'groups_setup_nav' );
    297297
    298298function groups_directory_groups_setup() {
     
    467467            groups_send_invites( $bp->groups->new_group_id, $bp->loggedin_user->id );
    468468        }
    469        
     469
    470470        do_action( 'groups_create_group_step_save_' . $bp->groups->current_create_step );
    471471        do_action( 'groups_create_group_step_complete' ); // Mostly for clearing cache on a generic action name
     
    25302530   
    25312531    $meta_key = preg_replace( '|[^a-z0-9_]|i', '', $meta_key );
    2532     $meta_value = (string)$meta_value;
    25332532
    25342533    if ( is_string($meta_value) )
Note: See TracChangeset for help on using the changeset viewer.