diff --git a/lib/cleanup.php b/lib/cleanup.php index 5759d9b..f966ca6 100644 --- a/lib/cleanup.php +++ b/lib/cleanup.php @@ -256,11 +256,11 @@ function roots_request_filter($query_vars) { add_filter('request', 'roots_request_filter'); /** - * Tell WordPress to use searchform.php from the templates/ directory + * Tell WordPress to use searchform.php from the templates/ directory. Requires WordPress 3.6+ */ -function roots_get_search_form($argument) { - if ($argument === '') { - locate_template('/templates/searchform.php', true, false); - } +function roots_get_search_form($form) { + $form = ''; + locate_template('/templates/searchform.php', true, false); + return $form; } add_filter('get_search_form', 'roots_get_search_form'); diff --git a/templates/entry-meta.php b/templates/entry-meta.php index 7061f47..e0ba57e 100644 --- a/templates/entry-meta.php +++ b/templates/entry-meta.php @@ -1,2 +1,2 @@ - +
diff --git a/templates/searchform.php b/templates/searchform.php index 81b560a..ab85998 100644 --- a/templates/searchform.php +++ b/templates/searchform.php @@ -1,9 +1,9 @@ -