Changeset 12565 for trunk/src/bp-core/bp-core-avatars.php
- Timestamp:
- 03/04/2020 01:26:10 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-avatars.php
r12555 r12565 198 198 } 199 199 200 global $current_blog;201 202 200 // Set the default variables array and parse it against incoming $args array. 203 201 $params = wp_parse_args( $args, array( … … 228 226 229 227 case 'blog' : 230 $params['item_id'] = $current_blog->id;228 $params['item_id'] = get_current_blog_id(); 231 229 break; 232 230 … … 751 749 $args['item_id'] = buddypress()->groups->current_group->id; 752 750 } elseif ( 'blog' === $args['object'] ) { 753 $args['item_id'] = $current_blog->id;751 $args['item_id'] = get_current_blog_id(); 754 752 } 755 753
Note: See TracChangeset
for help on using the changeset viewer.