From 7dc881bc8f04b19f5874b4571f0803abd1c28460 Mon Sep 17 00:00:00 2001 From: Remco Tolsma <869674+remcotolsma@users.noreply.github.com> Date: Mon, 27 May 2024 09:24:58 +0200 Subject: [PATCH] Fix "Invalid Request" response from https://connect.advancedcustomfields.com/v2/plugins/update-check. --- .github/scripts/release.php | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/scripts/release.php b/.github/scripts/release.php index fcb1ffd..1695efa 100644 --- a/.github/scripts/release.php +++ b/.github/scripts/release.php @@ -40,17 +40,22 @@ $data_plugins = [ 'key' => $acf_pro_license, 'slug' => 'advanced-custom-fields-pro', 'basename' => $basename, - 'version' => '1.0.0', + 'version' => '6.2', ] ]; $data_wp = [ - 'wp_name' => 'acf', - 'wp_version' => '6.3', + 'wp_name' => 'acf', + 'wp_url' => 'http://acf.local', + 'wp_version' => '6.3', + 'wp_language' => 'en-US', + 'wp_timezone' => '', + 'wp_multisite' => 0, + 'php_version' => '8', ]; $data_acf = [ - 'acf_version' => '1.0.0', + 'acf_version' => '6.2', 'acf_pro' => true, 'block_count' => 0, ];