diff --git a/src/wp-admin/includes/theme.php b/src/wp-admin/includes/theme.php index 043fe6ac31..03c12c8fe6 100644 --- a/src/wp-admin/includes/theme.php +++ b/src/wp-admin/includes/theme.php @@ -555,6 +555,7 @@ function themes_api( $action, $args = array() ) { } $http_args = array( + 'timeout' => 15, 'user-agent' => 'WordPress/' . $wp_version . '; ' . home_url( '/' ), ); $request = wp_remote_get( $url, $http_args );