From d2c29e6cad736337f655608743043b2a3bfe0574 Mon Sep 17 00:00:00 2001 From: Nate Weller Date: Wed, 17 Apr 2024 18:08:29 -0600 Subject: [PATCH] A4A Client: Fix Post-Connection Redirect URL (#36960) --- .../changelog/fix-a4a-connection-redirect | 4 ++++ .../src/js/components/connection-card/index.jsx | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 projects/plugins/automattic-for-agencies-client/changelog/fix-a4a-connection-redirect diff --git a/projects/plugins/automattic-for-agencies-client/changelog/fix-a4a-connection-redirect b/projects/plugins/automattic-for-agencies-client/changelog/fix-a4a-connection-redirect new file mode 100644 index 0000000000000..4831fc73cf9c1 --- /dev/null +++ b/projects/plugins/automattic-for-agencies-client/changelog/fix-a4a-connection-redirect @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Fix post-connection redirect URL. diff --git a/projects/plugins/automattic-for-agencies-client/src/js/components/connection-card/index.jsx b/projects/plugins/automattic-for-agencies-client/src/js/components/connection-card/index.jsx index 2e3a0bc590ba5..b68c048f7ee52 100644 --- a/projects/plugins/automattic-for-agencies-client/src/js/components/connection-card/index.jsx +++ b/projects/plugins/automattic-for-agencies-client/src/js/components/connection-card/index.jsx @@ -90,7 +90,7 @@ function ConnectionContent( { onShowSharingDetailsClick } ) { apiNonce={ apiNonce } registrationNonce={ registrationNonce } from="automattic-for-agencies-client" - redirectUri="admin.php?page=automattic-for-agencies-client" + redirectUri="options-general.php?page=automattic-for-agencies-client" />