Make WordPress Core

Ticket #17778: 17778.refresh.patch

File 17778.refresh.patch, 413 bytes (added by c3mdigital, 12 years ago)

Refresh of original patch

  • wp-includes/comment.php

     
    789789        if ( empty($comments) )
    790790                return 0;
    791791
     792        if ( ! get_option( 'page_comments' ) )
     793                return 1;
     794
    792795        if ( !isset($per_page) )
    793796                $per_page = (int) get_query_var('comments_per_page');
    794797        if ( 0 === $per_page )