Ticket #17256: patch_commit_2850cf365c47.patch
File patch_commit_2850cf365c47.patch, 521 bytes (added by , 12 years ago) |
---|
-
wp-includes/ms-files.php
diff --git a/wp-includes/ms-files.php b/wp-includes/ms-files.php index 5ec6d1d..22ae99c 100644
a b if( $mime[ 'type' ] ) 38 38 else 39 39 $mimetype = 'image/' . substr( $file, strrpos( $file, '.' ) + 1 ); 40 40 41 header( 'Content-type: ' . $mimetype); // always send this41 header( "Content-Type: $mimetype" ); // always send this 42 42 if ( false === strpos( $_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS' ) ) 43 43 header( 'Content-Length: ' . filesize( $file ) ); 44 44