Ticket #9900: 9900_threaded_comments.diff
File 9900_threaded_comments.diff, 1.6 KB (added by , 16 years ago) |
---|
-
C:/xampp/htdocs/wordpress_trunk/wp-admin/options-discussion.php
60 60 <input name="thread_comments" type="checkbox" id="thread_comments" value="1" <?php checked('1', get_option('thread_comments')); ?> /> 61 61 <?php 62 62 63 $maxdeep = (int) apply_filters( 'thread_comments_depth_max', 10 );63 $maxdeep = (int) apply_filters( 'thread_comments_depth_max', 20 ); 64 64 65 65 $thread_comments_depth = '</label><select name="thread_comments_depth" id="thread_comments_depth">'; 66 66 for ( $i = 1; $i <= $maxdeep; $i++ ) { … … 83 83 if ( 'oldest' == get_option('default_comments_page') ) $default_comments_page .= ' selected="selected"'; 84 84 $default_comments_page .= '>' . __('first') . '</option></select>'; 85 85 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 );86 printf( __('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 ); 87 87 88 88 ?></label> 89 89 <br />