Make WordPress Core

Changeset 28195


Ignore:
Timestamp:
04/24/2014 07:47:09 PM (11 years ago)
Author:
ocean90
Message:

Recent Posts Widget: Use ob_end_flush() instead of ob_flush().

ob_end_flush() flushes the output buffer *and* turns output buffering off, same as ob_get_flush().

props m_i_n.
see #28009 for trunk.

File:
1 edited

Legend:

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

    r27966 r28195  
    733733            wp_cache_set( 'widget_recent_posts', $cache, 'widget' );
    734734        } else {
    735             ob_flush();
     735            ob_end_flush();
    736736        }
    737737    }
Note: See TracChangeset for help on using the changeset viewer.