Skip to content

Commit aa25519

Browse files
committed
Remove duplicate code.
1 parent 373ec71 commit aa25519

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/wp-includes/general-template.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4669,9 +4669,6 @@ function paginate_links( $args = '' ) {
46694669
$total = $wp_query->max_num_pages ?? 1;
46704670
$current = get_query_var( 'paged' ) ? (int) get_query_var( 'paged' ) : 1;
46714671

4672-
// Append the format placeholder to the base URL.
4673-
$pagenum_link = trailingslashit( $url_parts[0] ) . '%_%';
4674-
46754672
/*
46764673
* Ensures sites not using trailing slashes get links in the form
46774674
* `/page/2` rather than `/page/2/`. On these sites, linking to the

0 commit comments

Comments
 (0)