Make WordPress Core

Changeset 17922


Ignore:
Timestamp:
05/13/2011 07:31:36 PM (14 years ago)
Author:
ryan
Message:

s/Content-type/Content-Type/. Props dvwallin. fixes #17256

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/ms-files.php

    r17836 r17922  
    3939    $mimetype = 'image/' . substr( $file, strrpos( $file, '.' ) + 1 );
    4040
    41 header( 'Content-type: ' . $mimetype ); // always send this
     41header( 'Content-Type: ' . $mimetype ); // always send this
    4242if ( false === strpos( $_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS' ) )
    4343    header( 'Content-Length: ' . filesize( $file ) );
Note: See TracChangeset for help on using the changeset viewer.