Closed davidakennedy closed 8 years ago
Credit should go to leobaiano
for this one. See #106.
The PR looks good so far. According to the discussion at #37171 an array would need to passed though to add the crossorigin
attribute. Example:
$urls[] = array(
'href' => 'https://fonts.gstatic.com',
'crossorigin',
);
This causes some notices on pre-4.7 installs, however, since this is a new feature. See https://core.trac.wordpress.org/changeset/38826.
Tks.
Fixes #105.