Changeset 5536
- Timestamp:
- 05/24/07 03:37:10 (1 year ago)
- Files:
-
- trunk/wp-includes/general-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/general-template.php
r5526 r5536 944 944 } 945 945 946 function get_search_query() { 947 return apply_filters( 'get_search_query', stripslashes( get_query_var( 's' ) ) ); 948 } 949 946 950 function the_search_query() { 947 global $s; 948 echo attribute_escape(stripslashes($s)); 951 echo attribute_escape( apply_filters( 'the_search_query', get_search_query() ) ); 949 952 } 950 953
