Make WordPress Core

Changeset 49570


Ignore:
Timestamp:
11/12/2020 05:13:56 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Build/Tests Tools: Restore [49491], accidentally reverted in [49566].

See #39210.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/bootstrap.php

    r49569 r49570  
    167167// Use the Spy REST Server instead of default.
    168168tests_add_filter( 'wp_rest_server_class', '_wp_rest_server_class_filter' );
     169// Prevent updating translations asynchronously.
     170tests_add_filter( 'async_update_translation', '__return_false' );
     171// Disable background updates.
     172tests_add_filter( 'automatic_updater_disabled', '__return_true' );
    169173
    170174// Preset WordPress options defined in bootstrap file.
Note: See TracChangeset for help on using the changeset viewer.