[wp-trac] [WordPress Trac] #15044: apache_mod_loaded fails due to ob_get_clean behavior on some servers

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 14 12:21:12 UTC 2011


#15044: apache_mod_loaded fails due to ob_get_clean behavior on some servers
-------------------------------+------------------------------
 Reporter:  hamfastgamgee      |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  3.0.1
 Severity:  major              |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------

Comment (by hamfastgamgee):

 Replying to [comment:7 markjaquith]:
 > > I realize ob_get_clean is supposed to be equivalent to ob_get_contents
 + ob_end_clean, but in this case at least, it seems to be significant.
 >
 > I looked at the PHP source code... They are functionally equivalent.

 I have no doubt of that.  I can only believe what I saw with my own eyes,
 which was that switching from ob_get_clean to ob_get_contents +
 ob_end_clean in that one spot in the source code fixed the problem.  I
 haven't the foggiest idea how, mind you. :)

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


More information about the wp-trac mailing list