summaryrefslogtreecommitdiffstats
path: root/wp-content/themes/default/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-content/themes/default/functions.php')
-rw-r--r--wp-content/themes/default/functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-content/themes/default/functions.php b/wp-content/themes/default/functions.php
index 5a6400e..5079fce 100644
--- a/wp-content/themes/default/functions.php
+++ b/wp-content/themes/default/functions.php
@@ -25,7 +25,7 @@ function kubrick_header_image() {
}
function kubrick_upper_color() {
- if ( strstr( $url = kubrick_header_image_url(), 'header-img.php?' ) ) {
+ if (strpos($url = kubrick_header_image_url(), 'header-img.php?') !== false) {
parse_str(substr($url, strpos($url, '?') + 1), $q);
return $q['upper'];
} else
@@ -33,7 +33,7 @@ function kubrick_upper_color() {
}
function kubrick_lower_color() {
- if ( strstr( $url = kubrick_header_image_url(), 'header-img.php?' ) ) {
+ if (strpos($url = kubrick_header_image_url(), 'header-img.php?') !== false) {
parse_str(substr($url, strpos($url, '?') + 1), $q);
return $q['lower'];
} else