Changeset 45926 for trunk/src/wp-admin/options-discussion.php
- Timestamp:
- 09/01/2019 05:12:43 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/options-discussion.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options-discussion.php
r45674 r45926 80 80 <?php 81 81 printf( 82 /* translators: %s: number of days */ 82 83 __( 'Automatically close comments on posts older than %s days' ), 83 84 '</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" />' … … 115 116 $thread_comments_depth .= '</select>'; 116 117 118 /* translators: %s: number of levels */ 117 119 printf( __( 'Enable threaded (nested) comments %s levels deep' ), $thread_comments_depth ); 118 120 … … 154 156 $comment_order .= '>' . __( 'newer' ) . '</option></select>'; 155 157 158 /* translators: %s: Form field control for 'older' or 'newer' comments */ 156 159 printf( __( 'Comments should be displayed with the %s comments at the top of each page' ), $comment_order ); 157 160 … … 185 188 <th scope="row"><?php _e( 'Comment Moderation' ); ?></th> 186 189 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Comment Moderation' ); ?></span></legend> 187 <p><label for="comment_max_links"><?php printf( __( 'Hold a comment in the queue if it contains %s or more links. (A common characteristic of comment spam is a large number of hyperlinks.)' ), '<input name="comment_max_links" type="number" step="1" min="0" id="comment_max_links" value="' . esc_attr( get_option( 'comment_max_links' ) ) . '" class="small-text" />' ); ?></label></p> 190 <p><label for="comment_max_links"> 191 <?php 192 printf( 193 /* translators: %s: number of links */ 194 __( 'Hold a comment in the queue if it contains %s or more links. (A common characteristic of comment spam is a large number of hyperlinks.)' ), 195 '<input name="comment_max_links" type="number" step="1" min="0" id="comment_max_links" value="' . esc_attr( get_option( 'comment_max_links' ) ) . '" class="small-text" />' 196 ); 197 ?> 198 </label></p> 188 199 189 200 <p><label for="moderation_keys"><?php _e( 'When a comment contains any of these words in its content, name, URL, email, or IP address, it will be held in the <a href="edit-comments.php?comment_status=moderated">moderation queue</a>. One word or IP address per line. It will match inside words, so “press” will match “WordPress”.' ); ?></label></p>
Note: See TracChangeset
for help on using the changeset viewer.