Ticket #8708: remove_pagination.diff

File remove_pagination.diff, 1.3 KB (added by alexforrow, 3 years ago)
  • wp-includes/feed-atom-comments.

    old new  
    6464 
    6565                </author> 
    6666 
    67                 <id><?php comment_link(); ?></id> 
     67                <id><?php echo get_comment_link(null, array('per_page' => FALSE)) ?></id> 
    6868                <updated><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_comment_time('Y-m-d H:i:s', true), false); ?></updated> 
    6969                <published><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_comment_time('Y-m-d H:i:s', true), false); ?></published> 
    7070<?php if ( post_password_required($comment_post) ) : ?> 
     
    7979        $parent_comment = get_comment($comment->comment_parent); 
    8080        // The rel attribute below and the id tag above should be GUIDs, but WP doesn't create them for comments (unlike posts). Either way, its more important that they both use the same system 
    8181?> 
    82                 <thr:in-reply-to ref="<?php echo get_comment_link($parent_comment) ?>" href="<?php echo get_comment_link($parent_comment) ?>" type="<?php bloginfo_rss('html_type'); ?>" /> 
     82                <thr:in-reply-to ref="<?php echo get_comment_link($parent_comment, array('per_page' => FALSE)) ?>" href="<?php echo get_comment_link($parent_comment) ?>" type="<?php bloginfo_rss('html_type'); ?>" /> 
    8383<?php endif; 
    8484        do_action('comment_atom_entry', $comment->comment_ID, $comment_post->ID); 
    8585?>