Changeset 21746
- Timestamp:
- 09/04/2012 09:05:06 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-discussion.php
r20202 r21746 72 72 <label for="close_comments_for_old_posts"> 73 73 <input name="close_comments_for_old_posts" type="checkbox" id="close_comments_for_old_posts" value="1" <?php checked('1', get_option('close_comments_for_old_posts')); ?> /> 74 <?php printf( __('Automatically close comments on articles older than %s days'), '</label><input name="close_comments_days_old" type="number" min="0" step="1" id="close_comments_days_old" value="' . esc_attr(get_option('close_comments_days_old')) . '" class="small-text" />'); ?> 74 <?php printf( __('Automatically close comments on articles older than %s days'), '</label><label for="close_comments_days_old"><input name="close_comments_days_old" type="number" min="0" step="1" id="close_comments_days_old" value="' . esc_attr(get_option('close_comments_days_old')) . '" class="small-text" />'); ?> 75 </label> 75 76 <br /> 76 77 <label for="thread_comments"> … … 80 81 $maxdeep = (int) apply_filters( 'thread_comments_depth_max', 10 ); 81 82 82 $thread_comments_depth = '</label>< select name="thread_comments_depth" id="thread_comments_depth">';83 $thread_comments_depth = '</label><label for="thread_comments_depth"><select name="thread_comments_depth" id="thread_comments_depth">'; 83 84 for ( $i = 2; $i <= $maxdeep; $i++ ) { 84 85 $thread_comments_depth .= "<option value='" . esc_attr($i) . "'"; … … 90 91 printf( __('Enable threaded (nested) comments %s levels deep'), $thread_comments_depth ); 91 92 92 ?><br /> 93 ?></label> 94 <br /> 93 95 <label for="page_comments"> 94 96 <input name="page_comments" type="checkbox" id="page_comments" value="1" <?php checked('1', get_option('page_comments')); ?> />
Note: See TracChangeset
for help on using the changeset viewer.