Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #223 from paulgibbs/master
Correctly escape string translations in form elements
- Loading branch information
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<form role="search" method="get" id="searchform" action="<?php echo home_url('/'); ?>"> | ||
<div class="row collapse"> | ||
<div class="small-8 columns"> | ||
<input type="text" value="" name="s" id="s" placeholder="<?php _e('Search', 'reverie'); ?>"> | ||
<input type="text" value="" name="s" id="s" placeholder="<?php esc_attr_e('Search', 'reverie'); ?>"> | ||
</div> | ||
<div class="small-4 columns"> | ||
<input type="submit" id="searchsubmit" value="<?php _e('Search', 'reverie'); ?>" class="prefix button"> | ||
<input type="submit" id="searchsubmit" value="<?php esc_attr_e('Search', 'reverie'); ?>" class="prefix button"> | ||
</div> | ||
</div> | ||
</form> |