Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit d19852f

Browse files
author
claudiuvertistudio
committed
Fixed #60 Excaped title attribute in searchform
1 parent 6c63f67 commit d19852f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

searchform.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1+
<?php
2+
/**
3+
* Template for displaying search forms in Zillah
4+
*/
5+
?>
6+
17
<form role="search" method="get" class="search-form search-toggle" action="<?php echo esc_url( home_url( '/' ) ); ?>">
28
<label>
39
<span class="screen-reader-text"><?php _ex( 'Search for:', 'label', 'zillah' ); ?></span>
4-
<input type="search" class="search-field" placeholder="<?php echo esc_attr_x( 'Search &hellip;', 'placeholder', 'zillah' ); ?>" value="<?php echo esc_attr( get_search_query() ); ?>" name="s" title="<?php _ex( 'Search for:', 'label', 'zillah' ); ?>">
10+
<input type="search" class="search-field" placeholder="<?php echo esc_attr_x( 'Search &hellip;', 'placeholder', 'zillah' ); ?>" value="<?php echo esc_attr( get_search_query() ); ?>" name="s" title="<?php esc_attr_x( 'Search for:', 'label', 'zillah' ); ?>">
511
</label>
612
<input type="submit" class="search-submit" value="<?php echo esc_attr_x( 'Search', 'submit button', 'zillah' ); ?>">
7-
</form>
13+
</form>

0 commit comments

Comments
 (0)