[wp-trac] [WordPress Trac] #5109: Patch (wp-includes/functions.php): eliminate triggered error from wp_ob_end_flush_all()

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 30 02:55:26 GMT 2007


#5109: Patch (wp-includes/functions.php): eliminate triggered error from
wp_ob_end_flush_all()
---------------------+------------------------------------------------------
 Reporter:  richcon  |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  normal   |   Milestone:  2.4      
Component:  General  |     Version:  2.3      
 Severity:  normal   |    Keywords:  has-patch
---------------------+------------------------------------------------------
 The line from wp_ob_end_flush_all():

 1416    while ( @ob_end_flush() );

 triggers a notice-level error when there aren't any more buffers to flush,
 which is then logged when error logging is enabled. The included patch
 rewrites the function to avoid this.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5109>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list