Ticket #38517: 38517.1.patch
| File 38517.1.patch, 4.6 KB (added by , 7 years ago) |
|---|
-
src/wp-admin/options-discussion.php
43 43 44 44 <table class="form-table"> 45 45 <tr> 46 <th scope="row"><?php _e( 'Default articlesettings' ); ?></th>47 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Default articlesettings' ); ?></span></legend>46 <th scope="row"><?php _e( 'Default post settings' ); ?></th> 47 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Default post settings' ); ?></span></legend> 48 48 <label for="default_pingback_flag"> 49 49 <input name="default_pingback_flag" type="checkbox" id="default_pingback_flag" value="1" <?php checked( '1', get_option( 'default_pingback_flag' ) ); ?> /> 50 <?php _e( 'Attempt to notify any blogs linked to from the article' ); ?></label>50 <?php _e( 'Attempt to notify any blogs linked to from the post' ); ?></label> 51 51 <br /> 52 52 <label for="default_ping_status"> 53 53 <input name="default_ping_status" type="checkbox" id="default_ping_status" value="open" <?php checked( 'open', get_option( 'default_ping_status' ) ); ?> /> 54 <?php _e( 'Allow link notifications from other blogs (pingbacks and trackbacks) on new articles' ); ?></label>54 <?php _e( 'Allow link notifications from other blogs (pingbacks and trackbacks) on new posts' ); ?></label> 55 55 <br /> 56 56 <label for="default_comment_status"> 57 57 <input name="default_comment_status" type="checkbox" id="default_comment_status" value="open" <?php checked( 'open', get_option( 'default_comment_status' ) ); ?> /> 58 <?php _e( 'Allow people to post comments on new articles' ); ?></label>58 <?php _e( 'Allow people to submit comments on new posts' ); ?></label> 59 59 <br /> 60 <p class="description"><?php echo '(' . __( 'These settings may be overridden for individual articles.' ) . ')'; ?></p>60 <p class="description"><?php echo '(' . __( 'These settings may be overridden for individual posts.' ) . ')'; ?></p> 61 61 </fieldset></td> 62 62 </tr> 63 63 <tr> … … 79 79 <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' ) ); ?> /> 80 80 <?php 81 81 printf( 82 __( 'Automatically close comments on articles older than %s days' ),82 __( 'Automatically close comments on posts older than %s days' ), 83 83 '</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" />' 84 84 ); 85 85 ?> -
src/wp-admin/options-reading.php
137 137 <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> 138 138 </tr> 139 139 <tr> 140 <th scope="row"><?php _e( 'For each articlein a feed, show' ); ?> </th>141 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'For each articlein a feed, show' ); ?> </span></legend>140 <th scope="row"><?php _e( 'For each post in a feed, show' ); ?> </th> 141 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'For each post in a feed, show' ); ?> </span></legend> 142 142 <p><label><input name="rss_use_excerpt" type="radio" value="0" <?php checked( 0, get_option( 'rss_use_excerpt' ) ); ?> /> <?php _e( 'Full text' ); ?></label><br /> 143 143 <label><input name="rss_use_excerpt" type="radio" value="1" <?php checked( 1, get_option( 'rss_use_excerpt' ) ); ?> /> <?php _e( 'Summary' ); ?></label></p> 144 144 </fieldset></td> -
src/wp-includes/class-wp-xmlrpc-server.php
612 612 'option' => 'large_size_h', 613 613 ), 614 614 'default_comment_status' => array( 615 'desc' => __( 'Allow people to post comments on new articles' ),615 'desc' => __( 'Allow people to submit comments on new posts' ), 616 616 'readonly' => false, 617 617 'option' => 'default_comment_status', 618 618 ), 619 619 'default_ping_status' => array( 620 'desc' => __( 'Allow link notifications from other blogs (pingbacks and trackbacks) on new articles' ),620 'desc' => __( 'Allow link notifications from other blogs (pingbacks and trackbacks) on new posts' ), 621 621 'readonly' => false, 622 622 'option' => 'default_ping_status', 623 623 ),