From 5413ecde1380469be19b5f145b2ff42f34a95132 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 17 Oct 2008 20:39:56 +0000 Subject: [PATCH] get_search_form from technosailor. fixes #7910 git-svn-id: https://develop.svn.wordpress.org/trunk@9234 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 62eb72f01d..a0bf5f6785 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 f974486805..20428056be 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: