mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Build/Tests Tools: Restore [49491], accidentally reverted in [49566].
See #39210. git-svn-id: https://develop.svn.wordpress.org/trunk@49570 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -166,6 +166,10 @@ $GLOBALS['_wp_die_disabled'] = false;
|
||||
tests_add_filter( 'wp_die_handler', '_wp_die_handler_filter' );
|
||||
// Use the Spy REST Server instead of default.
|
||||
tests_add_filter( 'wp_rest_server_class', '_wp_rest_server_class_filter' );
|
||||
// Prevent updating translations asynchronously.
|
||||
tests_add_filter( 'async_update_translation', '__return_false' );
|
||||
// Disable background updates.
|
||||
tests_add_filter( 'automatic_updater_disabled', '__return_true' );
|
||||
|
||||
// Preset WordPress options defined in bootstrap file.
|
||||
// Used to activate themes, plugins, as well as other settings.
|
||||
|
||||
Reference in New Issue
Block a user