From 2a06b3dfbac62801716213b4d94e4abbba874f9c Mon Sep 17 00:00:00 2001 From: Tom Adams Date: Thu, 21 Aug 2014 15:21:44 -0400 Subject: [PATCH 01/16] Check for template_include passing non-strings. Fixes #1134 --- lib/wrapper.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/wrapper.php b/lib/wrapper.php index c5bd4b1..ce159ce 100644 --- a/lib/wrapper.php +++ b/lib/wrapper.php @@ -36,6 +36,11 @@ class Roots_Wrapping { } static function wrap($main) { + // Check for other filters returning null + if (!is_string($main)) { + return $main; + } + self::$main_template = $main; self::$base = basename(self::$main_template, '.php'); From b935e14c6a79f817c582be256f5435503754c0a8 Mon Sep 17 00:00:00 2001 From: Chris Carr Date: Sat, 25 Oct 2014 07:08:52 -0700 Subject: [PATCH 02/16] Make search term `required` in search form. --- templates/searchform.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/searchform.php b/templates/searchform.php index 2d00878..497045d 100644 --- a/templates/searchform.php +++ b/templates/searchform.php @@ -1,7 +1,7 @@