Redirect to Jetpack connect page on plugins page skip (#39109)
* Redirect users to Jetpack Auth when the users deselect all plugins, but Jetpack is already installed * Add changelog
This commit is contained in:
parent
c810960bff
commit
46d83e3861
|
@ -1174,9 +1174,13 @@ export const coreProfilerStateMachineDefinition = createMachine( {
|
|||
} );
|
||||
return promiseDelay( 3000 );
|
||||
},
|
||||
onDone: {
|
||||
actions: [ 'redirectToWooHome' ],
|
||||
},
|
||||
onDone: [
|
||||
{
|
||||
target: 'isJetpackConnected',
|
||||
cond: 'hasJetpackSelected',
|
||||
},
|
||||
{ actions: [ 'redirectToWooHome' ] },
|
||||
],
|
||||
},
|
||||
meta: {
|
||||
component: Loader,
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: tweak
|
||||
|
||||
When all plugins are deselected, but Jetpack is already installed and not connected, redirect users to the Jetpack Connect page.
|
Loading…
Reference in New Issue