Ticket #17778: comment.php.patch

File comment.php.patch, 537 bytes (added by kobenland, 2 years ago)
  • Applications/MAMP/htdocs/wordpress-trunk/wp-includes/comment.php

     
    740740        if ( empty($comments) ) 
    741741                return 0; 
    742742 
     743        if ( ! get_option('page_comments') ) 
     744                return 1; 
     745 
    743746        if ( !isset($per_page) ) 
    744747                $per_page = (int) get_query_var('comments_per_page'); 
    745748        if ( 0 === $per_page )