Changeset 11091 for trunk/src/bp-core/bp-core-attachments.php
- Timestamp:
- 09/13/2016 05:35:55 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-attachments.php
r11068 r11091 56 56 // Fix for HTTPS. 57 57 if ( 'baseurl' === $key && is_ssl() ) { 58 $upload_data[ $key ] = str_replace( 'http://', 'https://', $upload_data[ $key ] ); 58 $upload_data[ $key ] = str_replace( 'http://', 'https://', $upload_data[ $key ] ); 59 59 } 60 60 } else { … … 1248 1248 if ( ! bp_get_current_group_id() && ! empty( $bp_params['item_id'] ) ) { 1249 1249 $needs_reset = array( 'component' => 'groups', 'key' => 'current_group', 'value' => $bp->groups->current_group ); 1250 $bp->groups->current_group = groups_get_group( array( 1251 'group_id' => $bp_params['item_id'], 1252 'populate_extras' => false, 1253 ) ); 1250 $bp->groups->current_group = groups_get_group( $bp_params['item_id'] ); 1254 1251 } 1255 1252
Note: See TracChangeset
for help on using the changeset viewer.