[wp-trac] [WordPress Trac] #14730: ms-files.php required ob_clean() and flush()

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 6 23:43:23 UTC 2011


#14730: ms-files.php required ob_clean() and flush()
--------------------------+------------------------------
 Reporter:  pj_mfc        |       Owner:  westi
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Multisite     |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by pj_mfc):

 I just ran into the same issue on a production wp3 multisite installation
 after the latest wp upgrade wiped out my hard-coded changes.  My sites are
 running on dreamhost and my install is quite typical.  I've run plenty of
 php (Wordpress, Joomla, and custom sites) on this host and never
 encountered any similar problems.  I'm happy to help debug this if anyone
 is interested in following up.  As stated in my original post, it looks
 like php.net is recommending using the buffer flushing functions in
 combination with readfile().  The comments on the page linked above
 confirm that there are known issues using readfile() without flushing the
 output buffer beforehand, so it seems like the proper thing to do here is
 update ms-files.php in wordpress.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14730#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list