When we updated our Pro theme from 6.1.5 to 6.2.4, anywhere we use font weights other than 400 (Normal) or 700 (Bold) are no longer rendering properly. I will provide 2 links in a Secure Note to demonstrate this, but below is where the issue lies.
Before updating the Pro theme:
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i&subset=latin,latin-ext&display=auto" type="text/css" media="all" crossorigin="anonymous" data-x-google-fonts="">
After updating the Pro theme:
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:400,400i,700,700i&subset=latin,latin-ext&display=auto" type="text/css" media="all" crossorigin="anonymous" data-x-google-fonts></link>
I have created a band-aid fix for this by placing the following code in my functions.php file:
function add_extra_google_fonts() {
echo '<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,500,500i,900,900i&subset=latin,latin-ext&display=auto" type="text/css" media="all" crossorigin="anonymous">';
}
add_action('wp_head', 'add_extra_google_fonts');
Since I am assuming this is a bug, I am reporting it here. Please let me know when this will be fixed so I can remove our band-aid fix.
Thanks!