Ticket #61393: 61393-1.diff
File 61393-1.diff, 1.2 KB (added by , 6 months ago) |
---|
-
src/wp-includes/general-template.php
4567 4567 * 4568 4568 * @param string $link The paginated link URL. 4569 4569 */ 4570 esc_url( apply_filters( 'paginate_links', $link) ),4570 esc_url( apply_filters( 'paginate_links', user_trailingslashit( $link ) ) ), 4571 4571 $args['prev_text'] 4572 4572 ); 4573 4573 endif; … … 4593 4593 $page_links[] = sprintf( 4594 4594 '<a class="page-numbers" href="%s">%s</a>', 4595 4595 /** This filter is documented in wp-includes/general-template.php */ 4596 esc_url( apply_filters( 'paginate_links', $link) ),4596 esc_url( apply_filters( 'paginate_links', user_trailingslashit( $link ) ) ), 4597 4597 $args['before_page_number'] . number_format_i18n( $n ) . $args['after_page_number'] 4598 4598 ); 4599 4599 … … 4617 4617 $page_links[] = sprintf( 4618 4618 '<a class="next page-numbers" href="%s">%s</a>', 4619 4619 /** This filter is documented in wp-includes/general-template.php */ 4620 esc_url( apply_filters( 'paginate_links', $link) ),4620 esc_url( apply_filters( 'paginate_links', user_trailingslashit( $link ) ) ), 4621 4621 $args['next_text'] 4622 4622 ); 4623 4623 endif;