Changeset 5057 for branches/2.1/wp-includes/general-template.php
- Timestamp:
- 03/17/2007 08:47:29 AM (19 years ago)
- File:
-
- 1 edited
-
branches/2.1/wp-includes/general-template.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.1/wp-includes/general-template.php
r5027 r5057 290 290 $text = wptexturize($text); 291 291 $title_text = attribute_escape($text); 292 $url = clean_url($url); 292 293 293 294 if ('link' == $format) … … 972 973 if ( $add_args ) 973 974 $link = add_query_arg( $add_args, $link ); 974 $page_links[] = "<a class='prev page-numbers' href='" . attribute_escape($link) . "'>$prev_text</a>";975 $page_links[] = "<a class='prev page-numbers' href='" . clean_url($link) . "'>$prev_text</a>"; 975 976 endif; 976 977 for ( $n = 1; $n <= $total; $n++ ) : … … 984 985 if ( $add_args ) 985 986 $link = add_query_arg( $add_args, $link ); 986 $page_links[] = "<a class='page-numbers' href='" . attribute_escape($link) . "'>$n</a>";987 $page_links[] = "<a class='page-numbers' href='" . clean_url($link) . "'>$n</a>"; 987 988 $dots = true; 988 989 elseif ( $dots && !$show_all ) : … … 997 998 if ( $add_args ) 998 999 $link = add_query_arg( $add_args, $link ); 999 $page_links[] = "<a class='next page-numbers' href='" . attribute_escape($link) . "'>$next_text</a>";1000 $page_links[] = "<a class='next page-numbers' href='" . clean_url($link) . "'>$next_text</a>"; 1000 1001 endif; 1001 1002 switch ( $type ) :
Note: See TracChangeset
for help on using the changeset viewer.