• Resolved sgslabel

    (@sgslabel)


    Hi. After updating Redux Framework from 3.6.18 to 4.1.3 the fonts of my web-site (by MyHome Theme) had changed by itself and can’t be changed to the Google Fonts I like. I’ve restored the previous version from snapshot and all works fine. After repeted updating the plugin, the problem with fonts apears again.
    Please advise me how to solve the problem.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 30 total)
  • It seems I meet the same problem.

    Same for me.

    Same here, font families are recognized just fine but not specific fonts

    Same here this is a major issue.

    Google fonts is being loaded over http not https which is why they are not working due to insecure content warning.

    Please push a fix soon.

    Latest plugin update (v4.1.4) doesn’t resolve this issue for https websites.

    I’ve managed to fix this in: redux-core/classes/class-redux-output.php on line 212 by changing:

    $protocol = ( ! empty( Redux_Core::$server['HTTPS'] ) && 'off' !== Redux_Core::$server['HTTPS'] || 443 === Redux_Core::$server['SERVER_PORT'] ) ? 'https:' : 'http:';

    to:

    $protocol = ( ! empty ( $_SERVER['HTTPS'] ) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443 ) ? "https:" : "http:";

    Message to developers:

    Changing line 840 on redux-core/inc/fields/typography/class-redux-typography.php should be left as it was.

    Hope this helps.

    • This reply was modified 4 years, 3 months ago by BobCost.

    Same here.

    Update: @bobcost suggested remedy (Line 212) did not resolve the problem in my case. I am using Liquid Ave theme.

    • This reply was modified 4 years, 3 months ago by jtherieau.
    • This reply was modified 4 years, 3 months ago by jtherieau.

    My previous reply with the fix was for v4.1.3. If you’re using v4.1.4 you should also change redux-core/inc/fields/typography/class-redux-typography.php on line 840:

    return 'https://fonts.googleapis.com/css?family=' . $link;

    to

    return '//fonts.googleapis.com/css?family=' . $link;

    Plugin Contributor Dōvy Paukstys

    (@dovyp)

    Just pushed the fix, sorry all! 4.1.5. ??

    Please confirm and let us know if you have any issues. Fix one bug, another shows up, haha. Thank you for your patience all.

    Plugin Contributor Dōvy Paukstys

    (@dovyp)

    Let me give some more context here for any interested.

    For some reason // urls stopped working. So even though the google fonts were listed as href='//fonts.googleapis.com for some reason it was defaulting to http.

    Then we identified an issue where some theme authors were using an argument as a string vs an array as in our docs, but alas we had the fix for that in a lower loop.

    We’ve verified this works against 5 different themes so far and we’ve made fonts.googleapis.com always default to https now.

    Hope that helps clear up what happened. So sorry for the problems and thank you for the reports!

    It’s solved for me. Cool.

    Thread Starter sgslabel

    (@sgslabel)

    4.1.5 works well.
    You are a Champion.
    Thanks

    Can you retain https when accessing your theme’s control panel? Today’s update broke my SSL and now when I go to my Theme’s Control Panel it says “Not Secure”. Looks like it was a half baked release this time around!

    Plugin Contributor Dōvy Paukstys

    (@dovyp)

    @doodooli Please make sure to update Redux 4.1.6, it should function properly. Please confirm.

    All good here now too. Thanks!

    Plugin Contributor Dōvy Paukstys

    (@dovyp)

    Fantastic. Thank you.

Viewing 15 replies - 1 through 15 (of 30 total)
  • The topic ‘Fonts crashed after update’ is closed to new replies.