Make WordPress Core


Ignore:
Timestamp:
04/05/2019 03:52:39 PM (5 years ago)
Author:
flixos90
Message:

Bootstrap/Load: Do not redefine constants because tests don't like it.

See #46045.

File:
1 edited

Legend:

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

    r45114 r45116  
    14451445        die();
    14461446    }
    1447     define( 'WP_SANDBOX_SCRAPING', true );
     1447    if ( ! defined( 'WP_SANDBOX_SCRAPING' ) ) {
     1448        define( 'WP_SANDBOX_SCRAPING', true );
     1449    }
    14481450    register_shutdown_function( 'wp_finalize_scraping_edited_file_errors', $key );
    14491451}
Note: See TracChangeset for help on using the changeset viewer.