Support » Plugin: TK Google Fonts » Fonts loaded through http instead of https

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Sven Lehnert

    (@svenl77)

    Hi @sjorshijgenaar,

    I have uploaded a new version with https support.

    Cheers,
    Sven

    Hi Sven,
    Version 1.3.2 still contains a link to non-https URL.
    In file tk-google-fonts/includes/helper-functions.php line 27, I replaced ‘http://fonts.googleapis.com’ to ‘//fonts.googleapis.com’. That worked for me.

    The whole file can be simplified because of (nearly) duplicated code: wp_register_style/wp_enqueue_style function calls in ‘selected_fonts’ loops. But that’s my opinion.

    Plugin Author Sven Lehnert

    (@svenl77)

    Hi @akamp,

    this is definitely true and a great improvement. I will make sure it gets changed for the upcoming version.

    If you are willing to create a pull request of your changes would be a great help and speed up the process.

    https://github.com/Themekraft/tk-google-fonts

    Contributions are Welcome! 😉

    Cheers,
    Sven

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fonts loaded through http instead of https’ is closed to new replies.