Make WordPress Core

Ticket #9900: 9900_threaded_comments.diff

File 9900_threaded_comments.diff, 1.6 KB (added by hailin, 16 years ago)

patch

  • C:/xampp/htdocs/wordpress_trunk/wp-admin/options-discussion.php

     
    6060<input name="thread_comments" type="checkbox" id="thread_comments" value="1" <?php checked('1', get_option('thread_comments')); ?> />
    6161<?php
    6262
    63 $maxdeep = (int) apply_filters( 'thread_comments_depth_max', 10 );
     63$maxdeep = (int) apply_filters( 'thread_comments_depth_max', 20 );
    6464
    6565$thread_comments_depth = '</label><select name="thread_comments_depth" id="thread_comments_depth">';
    6666for ( $i = 1; $i <= $maxdeep; $i++ ) {
     
    8383if ( 'oldest' == get_option('default_comments_page') ) $default_comments_page .= ' selected="selected"';
    8484$default_comments_page .= '>' . __('first') . '</option></select>';
    8585
    86 printf( __('Break comments into pages with %1$s comments per page and the %2$s page displayed by default'), '</label><label for="comments_per_page"><input name="comments_per_page" type="text" id="comments_per_page" value="' . esc_attr(get_option('comments_per_page')) . '" class="small-text" />', $default_comments_page );
     86printf( __('Break comments into pages with %1$s top level comments per page and the %2$s page displayed by default'), '</label><label for="comments_per_page"><input name="comments_per_page" type="text" id="comments_per_page" value="' . esc_attr(get_option('comments_per_page')) . '" class="small-text" />', $default_comments_page );
    8787
    8888?></label>
    8989<br />