From db2d6218e58edbcf8a4981094cbfdbec4e3613a6 Mon Sep 17 00:00:00 2001 From: Ben Harrop Date: Thu, 23 Feb 2023 11:05:27 +0000 Subject: [PATCH] Change gravityforms download URL as gravityhelp.com is now gone --- plugins/GravityForms.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/GravityForms.php b/plugins/GravityForms.php index f98a21d..c58ec52 100644 --- a/plugins/GravityForms.php +++ b/plugins/GravityForms.php @@ -46,7 +46,7 @@ public function __construct( $version = '', $slug = 'gravityforms' ) { */ public function getDownloadUrl() { $http = new Http(); - $response = unserialize( $http->post( 'https://www.gravityhelp.com/wp-content/plugins/gravitymanager/api.php?op=get_plugin&slug=' . $this->slug . '&key=' . getenv( 'GRAVITY_FORMS_KEY' ) ) ); + $response = unserialize( $http->post( 'https://gravityapi.com/wp-content/plugins/gravitymanager/api.php?op=get_plugin&slug=' . $this->slug . '&key=' . getenv( 'GRAVITY_FORMS_KEY' ) ) ); if ( ! empty( $response['download_url_latest'] ) ) { return str_replace( 'http://', 'https://', $response['download_url_latest'] ); }