Changeset 4657 for trunk/wp-includes/general-template.php
- Timestamp:
- 12/21/2006 10:45:58 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/general-template.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r4656 r4657 902 902 function the_search_query() { 903 903 global $s; 904 echo attribute_escape( stripslashes($s));904 echo attribute_escape(stripslashes($s)); 905 905 } 906 906 … … 957 957 if ( $add_args ) 958 958 $link = add_query_arg( $add_args, $link ); 959 $page_links[] = "<a class='prev page-numbers' href='" . attribute_escape( $link) . "'>$prev_text</a>";959 $page_links[] = "<a class='prev page-numbers' href='" . attribute_escape($link) . "'>$prev_text</a>"; 960 960 endif; 961 961 for ( $n = 1; $n <= $total; $n++ ) : … … 969 969 if ( $add_args ) 970 970 $link = add_query_arg( $add_args, $link ); 971 $page_links[] = "<a class='page-numbers' href='" . attribute_escape( $link) . "'>$n</a>";971 $page_links[] = "<a class='page-numbers' href='" . attribute_escape($link) . "'>$n</a>"; 972 972 $dots = true; 973 973 elseif ( $dots && !$show_all ) : … … 982 982 if ( $add_args ) 983 983 $link = add_query_arg( $add_args, $link ); 984 $page_links[] = "<a class='next page-numbers' href='" . attribute_escape( $link) . "'>$next_text</a>";984 $page_links[] = "<a class='next page-numbers' href='" . attribute_escape($link) . "'>$next_text</a>"; 985 985 endif; 986 986 switch ( $type ) :
Note: See TracChangeset
for help on using the changeset viewer.