[Plugin: WP Google Fonts] Code fixes for this plugin
-
Lines 81 and 82 should be;
$this->thispluginurl = "WP_PLUGIN_URL" . '/' . dirname(plugin_basename(__FILE__)).'/'; $this->thispluginpath = "WP_PLUGIN_PATH" . '/' . dirname(plugin_basename(__FILE__)).'/';
Lines 121, 125, 129, 133, 137, 141 should have urlencode added e.g.
echo '<link href=\''.$http.'://fonts.googleapis.com/css?family='.urlencode($googlefont1).'\' rel=\'stylesheet\' type=\'text/css\' />';
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: WP Google Fonts] Code fixes for this plugin’ is closed to new replies.