mirror of
https://github.com/Frumph/comicpress.git
synced 2026-01-31 02:05:17 +01:00
using esc_attr_e
This commit is contained in:
@@ -12,12 +12,12 @@
|
||||
?>
|
||||
|
||||
<form method="get" class="searchform" action="<?php echo esc_html( home_url() ); ?>">
|
||||
<input type="text" value="<?php esc_html_e( 'Search...', 'comicpress' ); ?>" name="s" class="s-search" onfocus="this.value=(this.value=='<?php esc_html_e( 'Search...', 'comicpress' ); ?>') ? '' : this.value;" onblur="this.value=(this.value=='') ? '<?php esc_html_e( 'Search...', 'comicpress' ); ?>' : this.value;" />
|
||||
<input type="text" value="<?php esc_attr_e( 'Search...', 'comicpress' ); ?>" name="s" class="s-search" onfocus="this.value=(this.value=='<?php esc_attr_e( 'Search...', 'comicpress' ); ?>') ? '' : this.value;" onblur="this.value=(this.value=='') ? '<?php esc_attr_e( 'Search...', 'comicpress' ); ?>' : this.value;" />
|
||||
<button type="submit">
|
||||
|
||||
<?php
|
||||
/* translators: Content for search button */
|
||||
esc_html_e( '»', 'comicpress' );
|
||||
esc_attr_e( '»', 'comicpress' );
|
||||
?>
|
||||
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user