[wp-trac] [WordPress Trac] #17256: Image-error in Multisite (subdir)
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 27 12:27:55 UTC 2011
#17256: Image-error in Multisite (subdir)
--------------------------+-----------------------------
Reporter: dvwallin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Multisite | Version: 3.1
Severity: blocker | Keywords: has-patch
--------------------------+-----------------------------
When setting up a multisite-network using subdirectory-method in Wordpress
3.1.x images get the wrong encoding and doesn't show up anywhere.
This is due to the header-setting being wrong in ms-files.php where, to
solve the issue, you simply replace
header( 'Content-type: ' . $mimetype ); // always send this
with
header("Content-Type: $mimetype"); // always send this
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17256>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list