Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

Commit

Permalink
Merge pull request #114 from Codeinwp/development
Browse files Browse the repository at this point in the history
Added missing sanitizations
  • Loading branch information
rodica-andronache authored Jun 21, 2016
2 parents f51b69a + 90d43ce commit f79b1f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion inc/customizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ function zillah_customize_register( $wp_customize ) {
/* Font size */
$wp_customize->add_setting('zillah_select_box_font_size', array(
'default' => '16px',
'sanitize_callback' => 'sanitize_text_field',
));

$wp_customize->add_control( 'zillah_select_box_font_size', array(
Expand All @@ -230,7 +231,9 @@ function zillah_customize_register( $wp_customize ) {

if( ! $custom_logo ) {

$wp_customize->add_setting( 'zillah_logo_old' );
$wp_customize->add_setting( 'zillah_logo_old', array(
'sanitize_callback' => 'esc_url',
));

$wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'zillah_logo_old', array(
'label' => __( 'Logo', 'zillah' ),
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Theme URI: http://themeisle.com/themes/zillah/
Author: ThemeIsle
Author URI: http://themeisle.com
Description: Zillah is a free blogging WordPress theme.
Version: 1.0.7
Version: 1.0.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zillah
Expand Down

0 comments on commit f79b1f6

Please sign in to comment.