WordPress.org

Make WordPress Core

Changeset 624 in tests


Ignore:
Timestamp:
04/06/12 20:48:16 (2 years ago)
Author:
kurtpayne
Message:

Fixing a bug where output buffering is never turned off when an exception is thrown.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-testcase/test_admin_includes_ajax_actions.php

    r514 r624  
    121121    public function dieHandler( $message ) { 
    122122        $this->_last_response = $message; 
     123        ob_end_clean(); 
    123124        if ( !empty( $message ) ) 
    124125            throw new WPAjaxDieException( $message ); 
Note: See TracChangeset for help on using the changeset viewer.