Make WordPress Core

Changeset 47143


Ignore:
Timestamp:
01/31/2020 12:26:37 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Administration: Add punctuation to "If you change this, we will send you an email" message on General Settings, Network Settings, and Profile screens.

Props kinjaldalwadi, donmhico.
Fixes #49235.

Location:
trunk/src/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/network/settings.php

    r47122 r47143  
    162162                    <input name="new_admin_email" type="email" id="admin_email" aria-describedby="admin-email-desc" class="regular-text" value="<?php echo esc_attr( get_site_option( 'admin_email' ) ); ?>" />
    163163                    <p class="description" id="admin-email-desc">
    164                         <?php _e( 'This address is used for admin purposes. If you change this we will send you an email at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>' ); ?>
     164                        <?php _e( 'This address is used for admin purposes. If you change this, we will send you an email at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>' ); ?>
    165165                    </p>
    166166                    <?php
  • trunk/src/wp-admin/options-general.php

    r47122 r47143  
    111111<th scope="row"><label for="new_admin_email"><?php _e( 'Administration Email Address' ); ?></label></th>
    112112<td><input name="new_admin_email" type="email" id="new_admin_email" aria-describedby="new-admin-email-description" value="<?php form_option( 'admin_email' ); ?>" class="regular-text ltr" />
    113 <p class="description" id="new-admin-email-description"><?php _e( 'This address is used for admin purposes. If you change this we will send you an email at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>' ); ?></p>
     113<p class="description" id="new-admin-email-description"><?php _e( 'This address is used for admin purposes. If you change this, we will send you an email at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>' ); ?></p>
    114114<?php
    115115$new_admin_email = get_option( 'new_admin_email' );
  • trunk/src/wp-admin/user-edit.php

    r47122 r47143  
    506506            ?>
    507507        <p class="description" id="email-description">
    508             <?php _e( 'If you change this we will send you an email at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>' ); ?>
     508            <?php _e( 'If you change this, we will send you an email at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>' ); ?>
    509509        </p>
    510510            <?php
Note: See TracChangeset for help on using the changeset viewer.