From 76c966b75ae9f98994b3a8cfbbd8660e0f13b55b Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 17 Oct 2008 20:39:56 +0000 Subject: [PATCH] get_search_form from technosailor. fixes #7910 git-svn-id: http://svn.automattic.com/wordpress/trunk@9234 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/default/archive.php | 2 +- wp-content/themes/default/archives.php | 2 +- wp-content/themes/default/index.php | 2 +- wp-content/themes/default/search.php | 2 +- wp-content/themes/default/searchform.php | 12 ------------ wp-content/themes/default/sidebar.php | 2 +- wp-includes/general-template.php | 16 ++++++++++++++++ wp-includes/widgets.php | 14 ++------------ 8 files changed, 23 insertions(+), 29 deletions(-) delete mode 100644 wp-content/themes/default/searchform.php diff --git a/wp-content/themes/default/archive.php b/wp-content/themes/default/archive.php index 62eb72f01..a0bf5f678 100644 --- a/wp-content/themes/default/archive.php +++ b/wp-content/themes/default/archive.php @@ -63,7 +63,7 @@ get_header(); printf("

Sorry, but there aren't any posts by %s yet.

", get_userdatabylogin(get_query_var('author_name'))->display_name); else echo("

No posts found.

"); - include (TEMPLATEPATH . '/searchform.php'); + get_search_form(); endif; ?> diff --git a/wp-content/themes/default/archives.php b/wp-content/themes/default/archives.php index f97448680..20428056b 100644 --- a/wp-content/themes/default/archives.php +++ b/wp-content/themes/default/archives.php @@ -12,7 +12,7 @@ Template Name: Archives
- +

Archives by Month: