Permalink
Browse files

Custom colors: add sanitize callback

  • Loading branch information...
RCowles committed May 9, 2015
1 parent 4eaad29 commit f396cb84a5ebd5082087de9eaf32a66a227e5128
Showing with 2 additions and 0 deletions.
  1. +2 −0 inc/customizer.php
View
@@ -19,6 +19,7 @@ function just_write_customize_register( $wp_customize ) {
'just_write_sidebar_color',
array(
'default' => '#009393',
'sanitize_callback' => 'sanitize_hex_color',
'transport' => 'postMessage'
)
);
@@ -39,6 +40,7 @@ function just_write_customize_register( $wp_customize ) {
'just_write_link_color',
array(
'default' => '#009393',
'sanitize_callback' => 'sanitize_hex_color',
'transport' => 'postMessage'
)
);

0 comments on commit f396cb8

Please sign in to comment.