diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index cfa45f296..ccb572ba0 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -1690,8 +1690,9 @@ function paginate_links( $args = '' ) { $page_links[] = ""; endif; for ( $n = 1; $n <= $total; $n++ ) : + $n_display = number_format_i18n($n); if ( $n == $current ) : - $page_links[] = "$n"; + $page_links[] = "$n_display"; $dots = true; else : if ( $show_all || ( $n <= $end_size || ( $current && $n >= $current - $mid_size && $n <= $current + $mid_size ) || $n > $total - $end_size ) ) : @@ -1700,7 +1701,7 @@ function paginate_links( $args = '' ) { if ( $add_args ) $link = add_query_arg( $add_args, $link ); $link .= $add_fragment; - $page_links[] = "$n"; + $page_links[] = "$n_display"; $dots = true; elseif ( $dots && !$show_all ) : $page_links[] = "...";