• Resolved Vezado

    (@vezado)


    My theme has several http external links to google APIs for fonts etc.

    if ( $et_body_font <> '' ) {
    			$font_style .= "<link id='" . $et_body_font_id . "' href='https://fonts.googleapis.com/css?family=" . $et_body_font . "' rel='stylesheet' type='text/css' />";
    			$font_family = "font-family: '" . str_replace( '+', ' ', $et_body_font ) . "', Arial, sans-serif !important; ";
    		}

    WordPress HTTPS is not changing these links, even with ‘Bypass external checks’ disabled, but these API links work fine on https.

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

    (@mvied)

    Hey Vezado,

    This is being caused by the Regex used to match URL’s in the code. I will have this fixed in the next version.

    Thanks,
    Mvied

    Thread Starter Vezado

    (@vezado)

    Thanks Mvied! This will reduce the amount of modification needed.

    Your plugin is very useful and I appreciate you work. Thank you very much.

    Plugin Author mvied

    (@mvied)

    This fix is out in version 1.9. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘external links in theme (*.googleapis.com) not changed to https’ is closed to new replies.