From a25ed6bb608209b26429f10150c1554135d24134 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Tue, 12 Mar 2013 17:44:27 +0000 Subject: [PATCH] Twenty Thirteen: remove searchform.php template once core search form accepts HTML5 argument. Props obenland, fixes #23701. git-svn-id: https://develop.svn.wordpress.org/trunk@23673 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-content/themes/twentythirteen/404.php | 2 +- wp-content/themes/twentythirteen/comments.php | 2 +- .../themes/twentythirteen/content-none.php | 4 ++-- wp-content/themes/twentythirteen/css/ie.css | 7 +++--- .../themes/twentythirteen/functions.php | 4 ++-- wp-content/themes/twentythirteen/header.php | 4 ++-- .../themes/twentythirteen/searchform.php | 14 ----------- wp-content/themes/twentythirteen/style.css | 24 +++++++++---------- 8 files changed, 23 insertions(+), 38 deletions(-) delete mode 100644 wp-content/themes/twentythirteen/searchform.php diff --git a/wp-content/themes/twentythirteen/404.php b/wp-content/themes/twentythirteen/404.php index 2ebae0a63d..8a57e7fe4e 100644 --- a/wp-content/themes/twentythirteen/404.php +++ b/wp-content/themes/twentythirteen/404.php @@ -21,7 +21,7 @@ get_header(); ?>

- + diff --git a/wp-content/themes/twentythirteen/comments.php b/wp-content/themes/twentythirteen/comments.php index d52ae084a8..d80a6e60f5 100644 --- a/wp-content/themes/twentythirteen/comments.php +++ b/wp-content/themes/twentythirteen/comments.php @@ -38,7 +38,7 @@ if ( post_password_required() ) if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?> diff --git a/wp-content/themes/twentythirteen/content-none.php b/wp-content/themes/twentythirteen/content-none.php index 35ce2b18ad..1d0a890716 100644 --- a/wp-content/themes/twentythirteen/content-none.php +++ b/wp-content/themes/twentythirteen/content-none.php @@ -20,12 +20,12 @@

- +

- + diff --git a/wp-content/themes/twentythirteen/css/ie.css b/wp-content/themes/twentythirteen/css/ie.css index df93663995..f1ad206ed6 100644 --- a/wp-content/themes/twentythirteen/css/ie.css +++ b/wp-content/themes/twentythirteen/css/ie.css @@ -32,7 +32,7 @@ Styles for older IE versions (previous to IE9). left: 100%; } -.site-header .searchform .field { +.site-header .searchform [type="search"] { padding-top: 6px; } @@ -174,8 +174,7 @@ img.alignleft { width: 13px; } -.ie7 .assistive-text, -.ie7 .site .screen-reader-text { +.ie7 .screen-reader-text { clip: rect(1px 1px 1px 1px); /* IE7 */ } @@ -204,7 +203,7 @@ img.alignleft { left: 100%; } -.ie7 .site-header .searchform .field { +.ie7 .site-header .searchform [type="search"] { background-color: #fff; border: 2px solid #c3c0ab; cursor: text; diff --git a/wp-content/themes/twentythirteen/functions.php b/wp-content/themes/twentythirteen/functions.php index f566160b9e..cb353f727c 100644 --- a/wp-content/themes/twentythirteen/functions.php +++ b/wp-content/themes/twentythirteen/functions.php @@ -303,7 +303,7 @@ function twentythirteen_paging_nav() { return; ?>