[wp-trac] [WordPress Trac] #28009: Recent Posts widget breaks ob stack

WordPress Trac noreply at wordpress.org
Thu Apr 24 13:17:18 UTC 2014


#28009: Recent Posts widget breaks ob stack
--------------------------+-----------------------------
 Reporter:  m_i_n         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.9.1
Component:  Widgets       |     Version:  3.9
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  administration
--------------------------+-----------------------------
Changes (by ocean90):

 * milestone:  Awaiting Review => 3.9.1


Comment:

 Hello m_i_n, thanks for the report.

 From the PHP docs:

 * ob_get_flush: Flush the output buffer, return it as a string and turn
 off output buffering
 * ob_flush: Flush (send) the output buffer
 * ob_end_flush:  Flush (send) the output buffer and turn off output
 buffering

 So I agree, we should use ob_end_flush() here.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28009#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list