Index: wp-content/themes/twentyeleven/searchform.php =================================================================== --- wp-content/themes/twentyeleven/searchform.php (revision 23841) +++ wp-content/themes/twentyeleven/searchform.php (working copy) @@ -6,9 +6,17 @@ * @subpackage Twenty_Eleven * @since Twenty Eleven 1.0 */ + +// Compat for WP < 3.6 +if ( ! isset( $search_form_counter ) ) { + static $search_form_counter = 0; + $form_id = $search_form_counter ? '' : ' id="searchform"'; + $submit_id = $search_form_counter ? '' : ' id="searchsubmit"'; + $text_id = $search_form_counter ? 's-' . $search_form_counter : 's'; +} ?> -
Index: wp-content/themes/twentyeleven/style.css =================================================================== --- wp-content/themes/twentyeleven/style.css (revision 23841) +++ wp-content/themes/twentyeleven/style.css (working copy) @@ -477,7 +477,7 @@ line-height: 1.2em; padding: 4px 10px 4px 28px; } -input#searchsubmit { +.searchform input.submit { display: none; }