Ticket #51669: 51669.diff
File 51669.diff, 825 bytes (added by , 4 years ago) |
---|
-
tests/phpunit/tests/rest-api/rest-plugins-controller.php
1023 1023 10, 1024 1024 3 1025 1025 ); 1026 1027 // Remove upgrade hooks which are not required for plugin installation tests 1028 // and may interfere with the results due to unnecessary external HTTP requests. 1029 remove_action( 'upgrader_process_complete', array( 'Language_Pack_Upgrader', 'async_upgrade' ), 20 ); 1030 remove_action( 'upgrader_process_complete', 'wp_version_check' ); 1031 remove_action( 'upgrader_process_complete', 'wp_update_plugins' ); 1032 remove_action( 'upgrader_process_complete', 'wp_update_themes' ); 1026 1033 } 1027 1034 1028 1035 /**