Ticket #38517: 38517.patch
| File 38517.patch, 4.9 KB (added by , 9 years ago) |
|---|
-
src/wp-admin/options-discussion.php
40 40 41 41 <table class="form-table"> 42 42 <tr> 43 <th scope="row"><?php _e('Default articlesettings'); ?></th>44 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Default articlesettings'); ?></span></legend>43 <th scope="row"><?php _e('Default post settings'); ?></th> 44 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Default post settings'); ?></span></legend> 45 45 <label for="default_pingback_flag"> 46 46 <input name="default_pingback_flag" type="checkbox" id="default_pingback_flag" value="1" <?php checked('1', get_option('default_pingback_flag')); ?> /> 47 <?php _e('Attempt to notify any blogs linked to from the article'); ?></label>47 <?php _e('Attempt to notify any blogs linked to from the post'); ?></label> 48 48 <br /> 49 49 <label for="default_ping_status"> 50 50 <input name="default_ping_status" type="checkbox" id="default_ping_status" value="open" <?php checked('open', get_option('default_ping_status')); ?> /> 51 <?php _e('Allow link notifications from other blogs (pingbacks and trackbacks) on new articles'); ?></label>51 <?php _e('Allow link notifications from other blogs (pingbacks and trackbacks) on new posts'); ?></label> 52 52 <br /> 53 53 <label for="default_comment_status"> 54 54 <input name="default_comment_status" type="checkbox" id="default_comment_status" value="open" <?php checked('open', get_option('default_comment_status')); ?> /> 55 <?php _e('Allow people to post comments on new articles'); ?></label>55 <?php _e('Allow people to submit comments on new posts'); ?></label> 56 56 <br /> 57 <p class="description"><?php echo '(' . __( 'These settings may be overridden for individual articles.' ) . ')'; ?></p>57 <p class="description"><?php echo '(' . __( 'These settings may be overridden for individual posts.' ) . ')'; ?></p> 58 58 </fieldset></td> 59 59 </tr> 60 60 <tr> … … 71 71 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><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" />'); ?>74 <?php printf( __('Automatically close comments on posts 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 75 </label> 76 76 <br /> 77 77 <label for="thread_comments"> -
src/wp-includes/class-wp-xmlrpc-server.php
546 546 'option' => 'large_size_h' 547 547 ), 548 548 'default_comment_status' => array( 549 'desc' => __( 'Allow people to post comments on new articles' ),549 'desc' => __( 'Allow people to submit comments on new posts' ), 550 550 'readonly' => false, 551 551 'option' => 'default_comment_status' 552 552 ), 553 553 'default_ping_status' => array( 554 'desc' => __( 'Allow link notifications from other blogs (pingbacks and trackbacks) on new articles' ),554 'desc' => __( 'Allow link notifications from other blogs (pingbacks and trackbacks) on new posts' ), 555 555 'readonly' => false, 556 556 'option' => 'default_ping_status' 557 557 ) -
src/wp-admin/options-reading.php
100 100 <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> 101 101 </tr> 102 102 <tr> 103 <th scope="row"><?php _e( 'For each articlein a feed, show' ); ?> </th>104 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'For each articlein a feed, show' ); ?> </span></legend>103 <th scope="row"><?php _e( 'For each post in a feed, show' ); ?> </th> 104 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'For each post in a feed, show' ); ?> </span></legend> 105 105 <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 /> 106 106 <label><input name="rss_use_excerpt" type="radio" value="1" <?php checked( 1, get_option( 'rss_use_excerpt' ) ); ?> /> <?php _e( 'Summary' ); ?></label></p> 107 107 </fieldset></td>