Changeset 62961
- Timestamp:
- 07/31/2026 08:06:46 PM (6 weeks ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
-
options-discussion.php (modified) (1 diff)
-
options-reading.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options-discussion.php
r62710 r62961 183 183 <th scope="row"><?php echo $comment_moderation_title; ?></th> 184 184 <td><fieldset><legend class="screen-reader-text"><span><?php echo $comment_moderation_title; ?></span></legend> 185 <p><label for="comment_max_links"> 186 <?php 187 printf( 188 /* translators: %s: Number of links. */ 189 __( '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.)' ), 190 '<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" />' 191 ); 192 ?> 193 </label></p> 185 <p><label for="comment_max_links"><?php _e( 'Number of links to allow in a comment before holding for moderation:' ); ?></label> 186 <input name="comment_max_links" type="number" step="1" min="0" id="comment_max_links" value="<?php echo esc_attr( get_option( 'comment_max_links' ) ); ?>" class="small-text" aria-describedby="comment_links_moderation_desc" /> 187 <span id="comment_links_moderation_desc"><?php _e( '(A common characteristic of comment spam is a large number of hyperlinks.)' ); ?></span> 188 </p> 194 189 195 190 <p><label for="moderation_keys"><?php _e( 'When a comment contains any of these words in its content, author name, URL, email, IP address, or browser’s user agent string, 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> -
trunk/src/wp-admin/options-reading.php
r62089 r62961 176 176 <?php endif; ?> 177 177 <tr> 178 <th scope="row"><label for="posts_per_page"><?php _e( ' Blog pages show at most' ); ?></label></th>178 <th scope="row"><label for="posts_per_page"><?php _e( 'Number of recent posts shown on archive pages' ); ?></label></th> 179 179 <td> 180 <input name="posts_per_page" type="number" step="1" min="1" id="posts_per_page" value="<?php form_option( 'posts_per_page' ); ?>" class="small-text" /> <?php _e( 'posts' ); ?>180 <input name="posts_per_page" type="number" step="1" min="1" id="posts_per_page" value="<?php form_option( 'posts_per_page' ); ?>" class="small-text" /> 181 181 </td> 182 182 </tr> 183 183 <tr> 184 <th scope="row"><label for="posts_per_rss"><?php _e( ' Syndication feeds show the most recent' ); ?></label></th>185 <td><input name="posts_per_rss" type="number" step="1" min="1" id="posts_per_rss" value="<?php form_option( 'posts_per_rss' ); ?>" class="small-text" /> <?php _e( 'items' ); ?></td>184 <th scope="row"><label for="posts_per_rss"><?php _e( 'Number of recent items shown in syndication feeds' ); ?></label></th> 185 <td><input name="posts_per_rss" type="number" step="1" min="1" id="posts_per_rss" value="<?php form_option( 'posts_per_rss' ); ?>" class="small-text" /></td> 186 186 </tr> 187 187
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)