WordPress.org

Make WordPress Core

Changeset 307 in tests


Ignore:
Timestamp:
06/02/10 16:36:59 (5 years ago)
Author:
westi
Message:

Only show useful errors during test runs till WP_DEBUG settings take over.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-test.php

    r300 r307  
    4040        define('DIR_WP', DIR_TESTROOT.'/wordpress'); 
    4141 
    42 // make sure errors are displayed during setup 
    43 error_reporting(E_ALL); 
     42// make sure all useful errors are displayed during setup 
     43error_reporting(E_ALL & ~E_DEPRECATED); 
    4444ini_set('display_errors', true); 
    4545 
Note: See TracChangeset for help on using the changeset viewer.