Make WordPress Core

Ticket #13383: 13383-remove-trailing-space-in-label.diff

File 13383-remove-trailing-space-in-label.diff, 5.4 KB (added by zeo, 14 years ago)

Removes unnecessary trailing space in LABEL

  • wp-admin/theme-editor.php

     
    123123</div>
    124124<div class="alignright">
    125125        <form action="theme-editor.php" method="post">
    126                 <strong><label for="theme"><?php _e('Select theme to edit:'); ?> </label></strong>
     126                <strong><label for="theme"><?php _e('Select theme to edit:'); ?></label></strong>
    127127                <select name="theme" id="theme">
    128128<?php
    129129        foreach ($themes as $a_theme) {
  • wp-admin/user-new.php

     
    202202        </tr>
    203203<?php if ( !is_multisite() ) { ?>
    204204        <tr class="form-field">
    205                 <th scope="row"><label for="first_name"><?php _e('First Name') ?> </label></th>
     205                <th scope="row"><label for="first_name"><?php _e('First Name') ?></label></th>
    206206                <td><input name="first_name" type="text" id="first_name" value="<?php echo esc_attr($new_user_firstname); ?>" /></td>
    207207        </tr>
    208208        <tr class="form-field">
    209                 <th scope="row"><label for="last_name"><?php _e('Last Name') ?> </label></th>
     209                <th scope="row"><label for="last_name"><?php _e('Last Name') ?></label></th>
    210210                <td><input name="last_name" type="text" id="last_name" value="<?php echo esc_attr($new_user_lastname); ?>" /></td>
    211211        </tr>
    212212        <tr class="form-field">
  • wp-admin/options-general.php

     
    8383<span class="description"><?php _e('Enter the address here if you want your site homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different from the directory</a> you installed WordPress.'); ?></span></td>
    8484</tr>
    8585<tr valign="top">
    86 <th scope="row"><label for="admin_email"><?php _e('E-mail address') ?> </label></th>
     86<th scope="row"><label for="admin_email"><?php _e('E-mail address') ?></label></th>
    8787<td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text" />
    8888<span class="description"><?php _e('This address is used for admin purposes, like new user notification.') ?></span></td>
    8989</tr>
     
    102102</tr>
    103103<?php } else { ?>
    104104<tr valign="top">
    105 <th scope="row"><label for="new_admin_email"><?php _e('E-mail address') ?> </label></th>
     105<th scope="row"><label for="new_admin_email"><?php _e('E-mail address') ?></label></th>
    106106<td><input name="new_admin_email" type="text" id="new_admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text code" />
    107107<span class="setting-description"><?php _e('This address is used for admin purposes. If you change this we will send you an e-mail at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>') ?></span>
    108108<?php
     
    119119<?php
    120120if ( !wp_timezone_supported() ) : // no magic timezone support here
    121121?>
    122 <th scope="row"><label for="gmt_offset"><?php _e('Timezone') ?> </label></th>
     122<th scope="row"><label for="gmt_offset"><?php _e('Timezone') ?></label></th>
    123123<td>
    124124<select name="gmt_offset" id="gmt_offset">
    125125<?php
  • wp-admin/options-discussion.php

     
    115115<td><fieldset><legend class="screen-reader-text"><span><?php _e('E-mail me whenever') ?></span></legend>
    116116<label for="comments_notify">
    117117<input name="comments_notify" type="checkbox" id="comments_notify" value="1" <?php checked('1', get_option('comments_notify')); ?> />
    118 <?php _e('Anyone posts a comment') ?> </label>
     118<?php _e('Anyone posts a comment') ?></label>
    119119<br />
    120120<label for="moderation_notify">
    121121<input name="moderation_notify" type="checkbox" id="moderation_notify" value="1" <?php checked('1', get_option('moderation_notify')); ?> />
    122 <?php _e('A comment is held for moderation') ?> </label>
     122<?php _e('A comment is held for moderation') ?></label>
    123123</fieldset></td>
    124124</tr>
    125125<tr valign="top">
     
    127127<td><fieldset><legend class="screen-reader-text"><span><?php _e('Before a comment appears') ?></span></legend>
    128128<label for="comment_moderation">
    129129<input name="comment_moderation" type="checkbox" id="comment_moderation" value="1" <?php checked('1', get_option('comment_moderation')); ?> />
    130 <?php _e('An administrator must always approve the comment') ?> </label>
     130<?php _e('An administrator must always approve the comment') ?></label>
    131131<br />
    132132<label for="comment_whitelist"><input type="checkbox" name="comment_whitelist" id="comment_whitelist" value="1" <?php checked('1', get_option('comment_whitelist')); ?> /> <?php _e('Comment author must have a previously approved comment') ?></label>
    133133</fieldset></td>
  • wp-admin/plugin-editor.php

     
    162162</div>
    163163<div class="alignright">
    164164        <form action="plugin-editor.php" method="post">
    165                 <strong><label for="plugin"><?php _e('Select plugin to edit:'); ?> </label></strong>
     165                <strong><label for="plugin"><?php _e('Select plugin to edit:'); ?></label></strong>
    166166                <select name="plugin" id="plugin">
    167167<?php
    168168        foreach ( $plugins as $plugin_key => $a_plugin ) {