diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php
index 4adc6c9..be157f7 100644
a
|
b
|
function get_the_comments_pagination( $args = array() ) { |
2872 | 2872 | ) ); |
2873 | 2873 | $args['echo'] = false; |
2874 | 2874 | |
2875 | | // Make sure we get plain links, so we get a string we can work with. |
2876 | | $args['type'] = 'plain'; |
| 2875 | // Make sure we get a string back. Plain is the next best thing. |
| 2876 | if ( isset( $args['type'] ) && 'array' == $args['type'] ) { |
| 2877 | $args['type'] = 'plain'; |
| 2878 | } |
2877 | 2879 | |
2878 | 2880 | $links = paginate_comments_links( $args ); |
2879 | 2881 | |