From 52d55bdbca635d21c4c57cd4e36ac1eb2f1505fd Mon Sep 17 00:00:00 2001 From: Adityo Ij Date: Sun, 15 Dec 2013 10:59:50 +0700 Subject: [PATCH] Update functions.filters.php Add same line code like code of bottom, so custom background is working now.. --- admin/functions/functions.filters.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/functions/functions.filters.php b/admin/functions/functions.filters.php index 4d6ea38..5ce9718 100644 --- a/admin/functions/functions.filters.php +++ b/admin/functions/functions.filters.php @@ -23,7 +23,7 @@ function of_filter_save_media_upload($data) { if(!is_array($data)) return $data; foreach ($data as $key => $value) { - if (is_string($value)) { + if (is_string($value) && preg_match("/\[site_url(_url_secure)?\]/", $value)) { $data[$key] = str_replace( array( site_url('', 'http'),