• Hi,

    the plugin is loading two Google fonts from remote. This adds extra load to the backend + potential GDPR issues for backend users. Adding custom fonts to the backend is unecessary and bloaty btw.

    Enqueue_Styles_Action.php

    public function enqueue_styles() {
    wp_enqueue_style( 'twofas-light', TWOFAS_LIGHT_PLUGIN_URL . 'assets/css/twofas_light.css', array(), TWOFAS_LIGHT_PLUGIN_VERSION );
    wp_enqueue_style( 'roboto', 'https://fonts.googleapis.com/css?family=Roboto' );
    }

    and twofas_ligth.css

    @import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500;600;700;800&display=swap");

    Regards

You must be logged in to reply to this topic.