From 83525467dcef83694f9cbeb8a36f9b0791c2802c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 25 Feb 2018 16:07:09 +0000 Subject: [PATCH] Comments: After [42703], make sure `$args['type']` in `paginate_comments_links()` is always defined. Props anantajitjg. Fixes #43299. git-svn-id: https://develop.svn.wordpress.org/trunk@42736 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/link-template.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-includes/link-template.php b/src/wp-includes/link-template.php index 80a3743fbf..9a27404597 100644 --- a/src/wp-includes/link-template.php +++ b/src/wp-includes/link-template.php @@ -2916,6 +2916,7 @@ function paginate_comments_links( $args = array() ) { 'total' => $max_page, 'current' => $page, 'echo' => true, + 'type' => 'plain', 'add_fragment' => '#comments', ); if ( $wp_rewrite->using_permalinks() ) {