Skip to content
Snippets Groups Projects
Commit 6b2210a6 authored by ale's avatar ale
Browse files

Fix unknown variable warning

parent 5f9a0839
No related branches found
No related tags found
No related merge requests found
Pipeline #59737 passed
......@@ -12,7 +12,7 @@
<h3><label for="s"><?php _e('Search', 'veryplaintxt') ?></label></h3>
<form id="searchform" method="get" action="<?php bloginfo('home') ?>">
<div>
<input id="s" name="s" type="text" value="<?php echo wp_specialchars(stripslashes($_GET['s']), true) ?>" size="10" />
<input id="s" name="s" type="text" value="<?php if(array_key_exists($_GET, 's')) { echo wp_specialchars(stripslashes($_GET['s']), true) } ?>" size="10" />
<input id="searchsubmit" name="searchsubmit" type="submit" value="<?php _e('Find', 'veryplaintxt') ?>" />
</div>
</form>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment