From 3a5b78da2799422966fbff71a198666990a955d2 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Mon, 26 Sep 2005 17:21:51 +0000 Subject: [PATCH] Validate! git-svn-id: https://develop.svn.wordpress.org/trunk@2920 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-content/themes/default/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-content/themes/default/functions.php b/wp-content/themes/default/functions.php index c624beff25..a02b24b29a 100644 --- a/wp-content/themes/default/functions.php +++ b/wp-content/themes/default/functions.php @@ -87,7 +87,7 @@ function kubrick_add_theme_page() { if ( preg_match('/[0-9A-F]{6}|[0-9A-F]{3}/i', $_REQUEST['njuppercolor'], $uc) && preg_match('/[0-9A-F]{6}|[0-9A-F]{3}/i', $_REQUEST['njlowercolor'], $lc) ) { $uc = ( strlen($uc[0]) == 3 ) ? $uc[0]{0}.$uc[0]{0}.$uc[0]{1}.$uc[0]{1}.$uc[0]{2}.$uc[0]{2} : $uc[0]; $lc = ( strlen($lc[0]) == 3 ) ? $lc[0]{0}.$lc[0]{0}.$lc[0]{1}.$lc[0]{1}.$lc[0]{2}.$lc[0]{2} : $lc[0]; - update_option('kubrick_header_image', "header-img.php?upper=$uc&lower=$lc"); + update_option('kubrick_header_image', "header-img.php?upper=$uc&lower=$lc"); } if ( isset($_REQUEST['toggledisplay']) ) {