the_search_query() from mdawaffe. fixes #914

git-svn-id: http://svn.automattic.com/wordpress/trunk@4171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2006-09-07 17:37:26 +00:00
parent 42a9977b7e
commit 853c59eeb3
3 changed files with 7 additions and 2 deletions

View File

@@ -801,4 +801,9 @@ function the_editor($content, $id = 'content', $prev_id = 'title') {
<?php
}
function the_search_query() {
global $s;
echo wp_specialchars( stripslashes($s), 1 );
}
?>