From e1d41ebce39801fb5f07ebf3903b684bc20d5996 Mon Sep 17 00:00:00 2001 From: Ben Word Date: Mon, 30 May 2011 09:55:53 -0600 Subject: [PATCH] removing unnecessary code at bottom, adding a class to a couple inputs so that they have some width --- inc/roots-options.php | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/inc/roots-options.php b/inc/roots-options.php index 4ddf47f..0ab6b40 100644 --- a/inc/roots-options.php +++ b/inc/roots-options.php @@ -123,7 +123,7 @@ function theme_options_render_page() {
- +
@@ -133,7 +133,7 @@ function theme_options_render_page() {
- +
@@ -145,7 +145,7 @@ function theme_options_render_page() {

- +
@@ -174,12 +174,6 @@ function roots_theme_options_validate($input) { if (isset($input['google_analytics_id'])) $output['google_analytics_id'] = $input['google_analytics_id']; - // Link color must be 3 or 6 hexadecimal characters -// if ( isset( $input['link_color'] ) && preg_match( '/^#?([a-f0-9]{3}){1,2}$/i', $input['link_color'] ) ) -// $output['link_color'] = '#' . strtolower( ltrim( $input['link_color'], '#' ) ); - - - return apply_filters('roots_theme_options_validate', $output, $input, $defaults); }