• Resolved Blackbam

    (@blackbam)


    In the vendor folder you have the following code in the wp-font-awesome-settings.php:

    		public function enqueue_editor_styles( $editor_settings, $block_editor_context ){
    
    			if ( ! empty( $editor_settings['__unstableResolvedAssets']['styles'] ) ) {
    				$url = $this->get_url();
    				$editor_settings['__unstableResolvedAssets']['styles'] .= "<link rel='stylesheet' id='font-awesome-css'  href='$url' media='all' />";
    			}
    
    			return $editor_settings;
    		}

    This is not only a very bad way to include a stylesheet in WordPress because it can not be dequeued. Even worse a remote URL to use.fontawesome.com is included here.

    Transmitting data to the US is not allowed for European companies with strict GDPR policies, can you please remove that and simply embed the font locally? Thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Can you please remove the remote loading of font-awesome as this violates GDPR?’ is closed to new replies.