mirror of
https://ghproxy.net/https://github.com/fairpm/fair-plugin.git
synced 2025-09-04 12:45:45 +08:00
remove timeout, not sure needed with caching
Signed-off-by: Andy Fragen <andy@thefragens.com>
This commit is contained in:
parent
4a740844da
commit
945d0c0077
1 changed files with 0 additions and 1 deletions
|
@ -152,7 +152,6 @@ function fetch_metadata_doc( string $url ) {
|
|||
'headers' => [
|
||||
'Accept' => sprintf( '%s;q=1.0, application/json;q=0.8', CONTENT_TYPE ),
|
||||
],
|
||||
'timeout' => 7,
|
||||
] );
|
||||
$code = wp_remote_retrieve_response_code( $response );
|
||||
if ( is_wp_error( $response ) ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue