Viewing 3 replies - 1 through 3 (of 3 total)
  • in wp-google-fonts.php try editing the Option Value for Open Sans from

    Open Sans:light,lightitalic,regular,regularitalic,600,600italic,bold,bolditalic,800,800italic

    to

    Open%20Sans:light,lightitalic,regular,regularitalic,600,600italic,bold,bolditalic,800,800italic

    Thread Starter ahmadhh

    (@ahmadhh)

    Thanks, but it won’t fix the bug for everyone else that tries downloading the latest version of this plugin.

    I went ahead with a different font for now. I will leave this as a courtesy note to the developer.

    I also hit the space/%20 validation error. This is not a hard fix… hint, hint:

    echo '<link href=\''.$http.'://fonts.googleapis.com/css?family='.$googlefont1.'\' rel=\'stylesheet\' type=\'text/css\' />';

    becomes

    echo '<link href=\''.$http.'://fonts.googleapis.com/css?family='.str_replace(' ', '%20', $googlefont1).'\' rel=\'stylesheet\' type=\'text/css\' />';

    Adrian, please confirm that you will fix this for the next release!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP Google Fonts] HTML Validation Bug’ is closed to new replies.