Version Description
Download this release
Release Info
Developer | grimmdude |
Plugin | WP Google Fonts |
Version | 3.1.4 |
Comparing to | |
See all releases |
Code changes from version 3.1.3 to 3.1.4
- google-fonts.php +3 -3
- readme.txt +4 -1
google-fonts.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: WP Google Fonts
|
4 |
Plugin URI: http://adrian3.com/projects/wordpress-plugins/wordpress-google-fonts-plugin/
|
5 |
-
Version: v3.1.
|
6 |
Description: The Wordpress Google Fonts Plugin makes it even easier to add and customize Google fonts on your site through Wordpress.
|
7 |
Author: Noah Kagan
|
8 |
Author URI: http://SumoMe.com/
|
@@ -1265,8 +1265,8 @@ if (!class_exists('googlefonts')) {
|
|
1265 |
|
1266 |
// ajax handling
|
1267 |
function googlefont_action_callback() {
|
1268 |
-
$name = $_POST['googlefont_ajax_name'];
|
1269 |
-
$family = $_POST['googlefont_ajax_family'];
|
1270 |
$normalized_name = $this->gf_normalize_font_name($family);
|
1271 |
$variants = $this->gf_get_font_data_by_family($name, $family, 'variants');
|
1272 |
$subsets = $this->gf_get_font_data_by_family($name, $family, 'subsets');
|
2 |
/*
|
3 |
Plugin Name: WP Google Fonts
|
4 |
Plugin URI: http://adrian3.com/projects/wordpress-plugins/wordpress-google-fonts-plugin/
|
5 |
+
Version: v3.1.4
|
6 |
Description: The Wordpress Google Fonts Plugin makes it even easier to add and customize Google fonts on your site through Wordpress.
|
7 |
Author: Noah Kagan
|
8 |
Author URI: http://SumoMe.com/
|
1265 |
|
1266 |
// ajax handling
|
1267 |
function googlefont_action_callback() {
|
1268 |
+
$name = sanitize_text_field($_POST['googlefont_ajax_name']);
|
1269 |
+
$family = sanitize_text_field($_POST['googlefont_ajax_family']);
|
1270 |
$normalized_name = $this->gf_normalize_font_name($family);
|
1271 |
$variants = $this->gf_get_font_data_by_family($name, $family, 'variants');
|
1272 |
$subsets = $this->gf_get_font_data_by_family($name, $family, 'subsets');
|
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Contributors: Adrian3
|
3 |
Tags: Google fonts, fonts, font, type, free fonts, typography, theme, admin, plugin, css, design, plugin, template, page, posts, links, Google
|
4 |
Requires at least: 2.0.2
|
5 |
-
Tested up to: 4.
|
6 |
Stable tag: trunk
|
7 |
License: GPLv2 or later
|
8 |
|
@@ -16,6 +16,9 @@ The WP Google Font plugin makes it even easier to use Google's free service to a
|
|
16 |
Right now, the Google Directory has hundreds of great fonts, and the selection is steadily growing. As new fonts are added, we will release updates to the plugin quickly so you can start using new fonts as they become available. It truly is an exciting time to be creating websites, and I hope this plugin helps you create some great stuff. - Adrian3
|
17 |
|
18 |
== Changelog ==
|
|
|
|
|
|
|
19 |
Version 3.1.3
|
20 |
- Fix SSL cert notices on settings page for Google API requests.
|
21 |
|
2 |
Contributors: Adrian3
|
3 |
Tags: Google fonts, fonts, font, type, free fonts, typography, theme, admin, plugin, css, design, plugin, template, page, posts, links, Google
|
4 |
Requires at least: 2.0.2
|
5 |
+
Tested up to: 4.5
|
6 |
Stable tag: trunk
|
7 |
License: GPLv2 or later
|
8 |
|
16 |
Right now, the Google Directory has hundreds of great fonts, and the selection is steadily growing. As new fonts are added, we will release updates to the plugin quickly so you can start using new fonts as they become available. It truly is an exciting time to be creating websites, and I hope this plugin helps you create some great stuff. - Adrian3
|
17 |
|
18 |
== Changelog ==
|
19 |
+
Version 3.1.4
|
20 |
+
- Fix XSS vuln
|
21 |
+
|
22 |
Version 3.1.3
|
23 |
- Fix SSL cert notices on settings page for Google API requests.
|
24 |
|