Skip to content

Commit

Permalink
Change esc_html_e to esc_attr_e in searchform.php
Browse files Browse the repository at this point in the history
  • Loading branch information
AlxMedia committed Jun 25, 2018
1 parent f75a6d5 commit bbb15e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion searchform.php
@@ -1,5 +1,5 @@
<form method="get" class="searchform themeform" action="<?php echo esc_url( home_url( '/' ) ); ?>">
<div>
<input type="text" class="search" name="s" onblur="if(this.value=='')this.value='<?php esc_html_e('To search type and hit enter','enspire'); ?>';" onfocus="if(this.value=='<?php esc_html_e('To search type and hit enter','enspire'); ?>')this.value='';" value="<?php esc_html_e('To search type and hit enter','enspire'); ?>" />
<input type="text" class="search" name="s" onblur="if(this.value=='')this.value='<?php esc_attr_e('To search type and hit enter','enspire'); ?>';" onfocus="if(this.value=='<?php esc_attr_e('To search type and hit enter','enspire'); ?>')this.value='';" value="<?php esc_attr_e('To search type and hit enter','enspire'); ?>" />
</div>
</form>

0 comments on commit bbb15e7

Please sign in to comment.