Make WordPress Core

Ticket #31117: 31117.2.patch

File 31117.2.patch, 2.4 KB (added by Ankit K Gupta, 11 years ago)

Updated patch file with "Search Engine Visibility" and "Avatar Display" labels

  • wp-admin/options-discussion.php

     
    200200
    201201<table class="form-table">
    202202<tr>
    203 <th scope="row"><?php _e('Avatar Display'); ?></th>
     203<th scope="row"><label for="show_avatars"><?php _e('Avatar Display'); ?></label></th>
    204204<td><fieldset><legend class="screen-reader-text"><span><?php _e('Avatar Display'); ?></span></legend>
    205205        <label for="show_avatars">
    206206                <input type="checkbox" id="show_avatars" name="show_avatars" value="1" <?php checked( $show_avatars, 1 ); ?> />
  • wp-admin/options-general.php

     
    140140<p class="description"><?php _e('This address is used for admin purposes, like new user notification.') ?></p></td>
    141141</tr>
    142142<tr>
    143 <th scope="row"><?php _e('Membership') ?></th>
     143<th scope="row"><label for="users_can_register"><?php _e('Membership') ?></label></th>
    144144<td> <fieldset><legend class="screen-reader-text"><span><?php _e('Membership') ?></span></legend><label for="users_can_register">
    145145<input name="users_can_register" type="checkbox" id="users_can_register" value="1" <?php checked('1', get_option('users_can_register')); ?> />
    146146<?php _e('Anyone can register') ?></label>
  • wp-admin/options-reading.php

     
    139139</tr>
    140140
    141141<tr class="option-site-visibility">
    142 <th scope="row"><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search Engine Visibility' ); ?> </th>
     142<th scope="row"><?php echo has_action( 'blog_privacy_selector' ) ? __( 'Site Visibility' ) : '<label for="blog_public">' . __( 'Search Engine Visibility' ) . '</label>'; ?> </th>
    143143<td><fieldset><legend class="screen-reader-text"><span><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search Engine Visibility' ); ?> </span></legend>
    144144<?php if ( has_action( 'blog_privacy_selector' ) ) : ?>
    145145        <input id="blog-public" type="radio" name="blog_public" value="1" <?php checked('1', get_option('blog_public')); ?> />