Skip to content

Commit 2eeac78

Browse files
authored
Merge pull request #4388 from Codeinwp/fix/4387
Fixed starter sites broken link redirection
2 parents 51f3fd3 + 565d49e commit 2eeac78

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

assets/apps/dashboard/src/Hooks/usePluginActions.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,7 @@ const usePluginActions = (slug, activateAfterInstall = false) => {
148148
setCurrentCTA('deactivate');
149149

150150
if (slug === 'templates-patterns-collection') {
151-
window.location.href =
152-
neveDash.tpcAdminURL +
153-
(neveDash.canInstallPlugins
154-
? '&onboarding=yes'
155-
: '');
151+
window.location.href = neveDash.tpcOnboardingURL;
156152
}
157153
}
158154
break;

0 commit comments

Comments
 (0)