WordPress.org

Make WordPress Core

Changeset 627 in tests


Ignore:
Timestamp:
04/06/12 21:15:53 (3 years ago)
Author:
kurtpayne
Message:

Fixing a bug introduced by [UT624]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-testcase/test_admin_includes_ajax_actions.php

    r624 r627  
    121121    public function dieHandler( $message ) { 
    122122        $this->_last_response = $message; 
    123         ob_end_clean(); 
    124         if ( !empty( $message ) ) 
     123        if ( !empty( $message ) ) { 
     124            ob_end_clean(); 
    125125            throw new WPAjaxDieException( $message ); 
     126        } 
    126127    } 
    127128 
Note: See TracChangeset for help on using the changeset viewer.