WordPress.org

Make WordPress Core

Ticket #38517: 38517.patch

File 38517.patch, 4.9 KB (added by johnbillion, 4 years ago)
  • src/wp-admin/options-discussion.php

     
    4040
    4141<table class="form-table">
    4242<tr>
    43 <th scope="row"><?php _e('Default article settings'); ?></th>
    44 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Default article settings'); ?></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>
    4545<label for="default_pingback_flag">
    4646<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>
    4848<br />
    4949<label for="default_ping_status">
    5050<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>
    5252<br />
    5353<label for="default_comment_status">
    5454<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>
    5656<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>
    5858</fieldset></td>
    5959</tr>
    6060<tr>
     
    7171
    7272<label for="close_comments_for_old_posts">
    7373<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" />'); ?>
    7575</label>
    7676<br />
    7777<label for="thread_comments">
  • src/wp-includes/class-wp-xmlrpc-server.php

     
    546546                                'option'        => 'large_size_h'
    547547                        ),
    548548                        'default_comment_status' => array(
    549                                 'desc'          => __( 'Allow people to post comments on new articles' ),
     549                                'desc'          => __( 'Allow people to submit comments on new posts' ),
    550550                                'readonly'      => false,
    551551                                'option'        => 'default_comment_status'
    552552                        ),
    553553                        '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' ),
    555555                                'readonly'      => false,
    556556                                'option'        => 'default_ping_status'
    557557                        )
  • src/wp-admin/options-reading.php

     
    100100<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>
    101101</tr>
    102102<tr>
    103 <th scope="row"><?php _e( 'For each article in a feed, show' ); ?> </th>
    104 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'For each article in 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>
    105105<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 />
    106106<label><input name="rss_use_excerpt" type="radio" value="1" <?php checked( 1, get_option( 'rss_use_excerpt' ) ); ?> /> <?php _e( 'Summary' ); ?></label></p>
    107107</fieldset></td>