Changeset 5729 for trunk/bp-groups/bp-groups-functions.php
- Timestamp:
- 02/11/2012 09:32:04 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-functions.php
r5714 r5729 236 236 global $bp; 237 237 238 return in_array( $status, (array) $bp->groups->valid_status );238 return in_array( $status, (array) $bp->groups->valid_status ); 239 239 } 240 240 … … 245 245 $slug = substr( $slug, 2, strlen( $slug ) - 2 ); 246 246 247 if ( in_array( $slug, (array) $bp->groups->forbidden_names ) )247 if ( in_array( $slug, (array) $bp->groups->forbidden_names ) ) 248 248 $slug = $slug . '-' . rand(); 249 249 … … 927 927 } 928 928 929 $metas = array_map( 'maybe_unserialize', (array) $metas );929 $metas = array_map( 'maybe_unserialize', (array) $metas ); 930 930 931 931 if ( 1 == count( $metas ) )
Note: See TracChangeset
for help on using the changeset viewer.