Remove disable-sslverify

This commit is contained in:
Vontainment 2025-07-04 19:30:07 -04:00
parent ea4bdd14fd
commit 2e70b14641
3 changed files with 4 additions and 4 deletions

View file

@ -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 );


View file

@ -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);


View file

@ -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);