Multisite: Remove full stops from radio and checkbox labels in the Network Settings screen.
This change brings consistency with the regular site administration panel settings pages: Radio and checkbox labels do not use full stops there, so those in the network administration panel should not either. Props Ankit K Gupta. Fixes #39319. git-svn-id: https://develop.svn.wordpress.org/trunk@40953 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
814936e641
commit
b5668c3527
|
@ -130,10 +130,10 @@ if ( isset( $_GET['updated'] ) ) {
|
||||||
<td>
|
<td>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend class="screen-reader-text"><?php _e( 'New registrations settings' ) ?></legend>
|
<legend class="screen-reader-text"><?php _e( 'New registrations settings' ) ?></legend>
|
||||||
<label><input name="registration" type="radio" id="registration1" value="none"<?php checked( $reg, 'none') ?> /> <?php _e( 'Registration is disabled.' ); ?></label><br />
|
<label><input name="registration" type="radio" id="registration1" value="none"<?php checked( $reg, 'none') ?> /> <?php _e( 'Registration is disabled' ); ?></label><br />
|
||||||
<label><input name="registration" type="radio" id="registration2" value="user"<?php checked( $reg, 'user') ?> /> <?php _e( 'User accounts may be registered.' ); ?></label><br />
|
<label><input name="registration" type="radio" id="registration2" value="user"<?php checked( $reg, 'user') ?> /> <?php _e( 'User accounts may be registered' ); ?></label><br />
|
||||||
<label><input name="registration" type="radio" id="registration3" value="blog"<?php checked( $reg, 'blog') ?> /> <?php _e( 'Logged in users may register new sites.' ); ?></label><br />
|
<label><input name="registration" type="radio" id="registration3" value="blog"<?php checked( $reg, 'blog') ?> /> <?php _e( 'Logged in users may register new sites' ); ?></label><br />
|
||||||
<label><input name="registration" type="radio" id="registration4" value="all"<?php checked( $reg, 'all') ?> /> <?php _e( 'Both sites and user accounts can be registered.' ); ?></label>
|
<label><input name="registration" type="radio" id="registration4" value="all"<?php checked( $reg, 'all') ?> /> <?php _e( 'Both sites and user accounts can be registered' ); ?></label>
|
||||||
<?php if ( is_subdomain_install() ) {
|
<?php if ( is_subdomain_install() ) {
|
||||||
echo '<p class="description">';
|
echo '<p class="description">';
|
||||||
/* translators: 1: NOBLOGREDIRECT 2: wp-config.php */
|
/* translators: 1: NOBLOGREDIRECT 2: wp-config.php */
|
||||||
|
@ -154,14 +154,14 @@ if ( isset( $_GET['updated'] ) ) {
|
||||||
update_site_option( 'registrationnotification', 'yes' );
|
update_site_option( 'registrationnotification', 'yes' );
|
||||||
?>
|
?>
|
||||||
<td>
|
<td>
|
||||||
<label><input name="registrationnotification" type="checkbox" id="registrationnotification" value="yes"<?php checked( get_site_option( 'registrationnotification' ), 'yes' ) ?> /> <?php _e( 'Send the network admin an email notification every time someone registers a site or user account.' ) ?></label>
|
<label><input name="registrationnotification" type="checkbox" id="registrationnotification" value="yes"<?php checked( get_site_option( 'registrationnotification' ), 'yes' ) ?> /> <?php _e( 'Send the network admin an email notification every time someone registers a site or user account' ) ?></label>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr id="addnewusers">
|
<tr id="addnewusers">
|
||||||
<th scope="row"><?php _e( 'Add New Users' ) ?></th>
|
<th scope="row"><?php _e( 'Add New Users' ) ?></th>
|
||||||
<td>
|
<td>
|
||||||
<label><input name="add_new_users" type="checkbox" id="add_new_users" value="1"<?php checked( get_site_option( 'add_new_users' ) ) ?> /> <?php _e( 'Allow site administrators to add new users to their site via the "Users → Add New" page.' ); ?></label>
|
<label><input name="add_new_users" type="checkbox" id="add_new_users" value="1"<?php checked( get_site_option( 'add_new_users' ) ) ?> /> <?php _e( 'Allow site administrators to add new users to their site via the "Users → Add New" page' ); ?></label>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue