Changeset 7898 for trunk/bp-groups/bp-groups-functions.php
- Timestamp:
- 02/16/2014 09:47:18 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/bp-groups/bp-groups-functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-functions.php
r7897 r7898 42 42 function groups_get_group( $args = '' ) { 43 43 $defaults = array( 44 'group_id' => false, 45 'load_users' => false 44 'group_id' => false, 45 'load_users' => false, 46 'populate_extras' => true, 47 'update_meta_cache' => true, 46 48 ); 47 49 … … 52 54 53 55 if ( !$group = wp_cache_get( $cache_key, 'bp' ) ) { 54 $group = new BP_Groups_Group( $group_id, true, $load_users ); 56 $group_args = array( 57 'populate_extras' => $populate_extras, 58 'update_meta_cache' => $update_meta_cache, 59 ); 60 61 $group = new BP_Groups_Group( $group_id, $group_args ); 55 62 wp_cache_set( $cache_key, $group, 'bp' ); 56 63 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)