mirror of
https://github.com/djav1985/v-wordpress-plugin-updater.git
synced 2025-10-03 16:20:58 +08:00
Remove disable-sslverify
This commit is contained in:
parent
ea4bdd14fd
commit
2e70b14641
3 changed files with 4 additions and 4 deletions
|
@ -51,8 +51,8 @@ function vontmnt_plugin_updater_run_updates() {
|
|||
VONTMENT_PLUGINS
|
||||
);
|
||||
|
||||
// Use wp_remote_get instead of cURL.
|
||||
$response = wp_remote_get( $api_url, array( 'sslverify' => false ) );
|
||||
// Use wp_remote_get instead of cURL.
|
||||
$response = wp_remote_get( $api_url );
|
||||
$http_code = wp_remote_retrieve_response_code( $response );
|
||||
$response_body = wp_remote_retrieve_body( $response );
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ function vontmnt_plugin_updater_run_updates()
|
|||
);
|
||||
|
||||
// Use wp_remote_get instead of cURL.
|
||||
$response = wp_remote_get($api_url, array( 'sslverify' => false ));
|
||||
$response = wp_remote_get($api_url);
|
||||
$http_code = wp_remote_retrieve_response_code($response);
|
||||
$response_body = wp_remote_retrieve_body($response);
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ function vontmnt_theme_updater_run_updates()
|
|||
VONTMENT_THEMES
|
||||
);
|
||||
|
||||
$response = wp_remote_get($api_url, array( 'sslverify' => false ));
|
||||
$response = wp_remote_get($api_url);
|
||||
$http_code = wp_remote_retrieve_response_code($response);
|
||||
$response_body = wp_remote_retrieve_body($response);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue