Changeset 7145 for trunk/bp-groups/bp-groups-functions.php
- Timestamp:
- 06/04/2013 03:04:29 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-functions.php
r7141 r7145 405 405 } else { 406 406 407 // exclude_admins_mods is a legacy argument. Convert to group_role 407 // exclude_admins_mods and exclude_banned are legacy arguments. 408 // Convert to group_role 408 409 if ( empty( $group_role ) ) { 409 $group_role = $exclude_admins_mods ? array( 'member' ) : array( 'member', 'mod', 'admin' ); 410 $group_role = array( 'member' ); 411 412 if ( ! $exclude_admins_mods ) { 413 $group_role[] = 'mod'; 414 $group_role[] = 'admin'; 415 } 416 417 if ( ! $exclude_banned ) { 418 $group_role[] = 'banned'; 419 } 410 420 } 411 421 … … 416 426 'page' => $page, 417 427 'group_role' => $group_role, 418 'exclude_banned' => $exclude_banned,419 428 'exclude' => $exclude, 420 429 'type' => 'last_modified',
Note: See TracChangeset
for help on using the changeset viewer.