When 2FA is disabled, do not enqueue_gutenberg_block_scripts
-
In the latest version 5.2.0 there are a lot of js files appearing that are enqueued by the class Simba_Two_Factor_Authentication_1 with add_action(‘enqueue_block_assets’, array($this, ‘enqueue_gutenberg_block_scripts’));
we are running all our sites without gutenberg and have a very clean and small frontend, so we do not want or need all the js in the frontend that are loaded with the action. also if the option for 2FA in the backend would be turned off for all user groups, you could disable that action anyways or at least make it possible to switch the gutenberg block scripts off (filter or setting)
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘When 2FA is disabled, do not enqueue_gutenberg_block_scripts’ is closed to new replies.