Link to comments on the page they are on. Fixes #8488 props johnconners.

git-svn-id: http://svn.automattic.com/wordpress/trunk@10043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2008-12-04 20:26:43 +00:00
parent cfbc31027e
commit 7f357e7188
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ function get_comment_link( $comment = null, $args = array() ) {
$args = wp_parse_args( $args, $defaults ); $args = wp_parse_args( $args, $defaults );
if ( '' === $args['per_page'] && get_option('page_comments') ) if ( '' === $args['per_page'] && get_option('page_comments') )
$args['per_page'] = get_query_var('comments_per_page'); $args['per_page'] = get_option('comments_per_page');
if ( empty($args['per_page']) ) { if ( empty($args['per_page']) ) {
$args['per_page'] = 0; $args['per_page'] = 0;