WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/12/2007 10:06:31 PM (13 years ago)
Author:
ryan
Message:

Flush all output buffers during shutdown to avoid PHP 5 bustage. see #3354

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-filters.php

    r5363 r5462  
    174174add_action('mce_options', '_mce_set_direction');
    175175add_action('init', 'smilies_init', 5);
    176 
    177176add_action( 'plugins_loaded', 'wp_maybe_load_widgets', 0 );
     177add_action( 'shutdown', 'wp_ob_end_flush_all', 1);
    178178
    179179?>
Note: See TracChangeset for help on using the changeset viewer.