Changeset 5536
- Timestamp:
- 05/24/2007 03:37:10 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset
for help on using the changeset viewer.