PurpleTurtleCreative / grouped-content

Enhanced hierarchical content management, available for download at https://wordpress.org/plugins/grouped-content/
https://purpleturtlecreative.com/grouped-content/
0 stars 0 forks source link

Personal FontAwesome source is not allowed due to tracking reasons #24

Closed MichelleBlanchette closed 4 years ago

MichelleBlanchette commented 4 years ago

This was pointed out to me when submitting Trident. See the message details here...

Use the anonymous CDN for Font Awesome

In 2016, Font Awesome introduced a new way to get their font library, via a URL like https://use.fontawesome.com/CUSTOMCODE.js

The problem with it is that it's tied to an individual's email, which means it's actually trackable. That can be a legal issue when it comes to disclosure of data and is something best avoided whenever possible. Not to mention, we don't allow tracking unless it's opt in.

We need you to use the font-awesome anonymous CDN - https://www.bootstrapcdn.com/fontawesome/

MichelleBlanchette commented 4 years ago

So you just gotta switch to the 4.7.0 CSS which means changing your icon classes and register_scripts():

wp_register_style(
  'fontawesome',
  'https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css',
  [],
  '4.7.0'
);
MichelleBlanchette commented 4 years ago

Solved in commit 86be135...