We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86dd47a commit 64d29c4Copy full SHA for 64d29c4
assets/js/scripts-admin.js
@@ -617,16 +617,7 @@ jQuery( function( $ ) {
617
618
if ( otterBlockCheckbox.length && otterBlockCheckbox.is( ':checked' ) ) {
619
promiseChain = promiseChain
620
- .then(() => handleOtter())
621
- .then(() => {
622
- if ( ! wpmmVars.isOtterInstalled ) {
623
- return installPlugin( 'otter-blocks' ).then( () => activatePlugin( 'otter-blocks' ) );
624
- }
625
-
626
- if ( ! wpmmVars.isOtterActive ) {
627
- return activatePlugin( 'otter-blocks' );
628
629
- });
+ .then(() => handleOtter());
630
}
631
632
return promiseChain.catch( ( error ) => {
0 commit comments