Changeset 11068 for trunk/src/bp-core/bp-core-attachments.php
- Timestamp:
- 09/06/2016 07:50:41 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-attachments.php
r10899 r11068 53 53 if ( 'basedir' === $key || 'baseurl' === $key ) { 54 54 $upload_data[ $key ] = trailingslashit( $value ) . $attachments_dir; 55 56 // Fix for HTTPS. 57 if ( 'baseurl' === $key && is_ssl() ) { 58 $upload_data[ $key ] = str_replace( 'http://', 'https://', $upload_data[ $key ] ); 59 } 55 60 } else { 56 61 unset( $upload_data[ $key ] );
Note: See TracChangeset
for help on using the changeset viewer.