Comments: After [42703], make sure `$args['type']` in `paginate_comments_links()` is always defined.

Props anantajitjg.
Fixes #43299.
Built from https://develop.svn.wordpress.org/trunk@42736


git-svn-id: http://core.svn.wordpress.org/trunk@42566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2018-02-25 16:08:30 +00:00
parent 35d5163d66
commit 395667f916
2 changed files with 2 additions and 1 deletions

View File

@ -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() ) {

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.0-alpha-42735';
$wp_version = '5.0-alpha-42736';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.