mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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. Built from https://develop.svn.wordpress.org/trunk@47143 git-svn-id: http://core.svn.wordpress.org/trunk@46943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6c05771d55
commit
4f67024da6
@ -161,7 +161,7 @@ if ( isset( $_GET['updated'] ) ) {
|
|||||||
<td>
|
<td>
|
||||||
<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' ) ); ?>" />
|
<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' ) ); ?>" />
|
||||||
<p class="description" id="admin-email-desc">
|
<p class="description" id="admin-email-desc">
|
||||||
<?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>' ); ?>
|
<?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>
|
</p>
|
||||||
<?php
|
<?php
|
||||||
$new_admin_email = get_site_option( 'new_admin_email' );
|
$new_admin_email = get_site_option( 'new_admin_email' );
|
||||||
|
@ -110,7 +110,7 @@ if ( ! is_multisite() ) {
|
|||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="new_admin_email"><?php _e( 'Administration Email Address' ); ?></label></th>
|
<th scope="row"><label for="new_admin_email"><?php _e( 'Administration Email Address' ); ?></label></th>
|
||||||
<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" />
|
<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" />
|
||||||
<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>
|
<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>
|
||||||
<?php
|
<?php
|
||||||
$new_admin_email = get_option( 'new_admin_email' );
|
$new_admin_email = get_option( 'new_admin_email' );
|
||||||
if ( $new_admin_email && $new_admin_email != get_option( 'admin_email' ) ) :
|
if ( $new_admin_email && $new_admin_email != get_option( 'admin_email' ) ) :
|
||||||
|
@ -505,7 +505,7 @@ endif;
|
|||||||
if ( $profileuser->ID == $current_user->ID ) :
|
if ( $profileuser->ID == $current_user->ID ) :
|
||||||
?>
|
?>
|
||||||
<p class="description" id="email-description">
|
<p class="description" id="email-description">
|
||||||
<?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>' ); ?>
|
<?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>' ); ?>
|
||||||
</p>
|
</p>
|
||||||
<?php
|
<?php
|
||||||
endif;
|
endif;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.4-alpha-47142';
|
$wp_version = '5.4-alpha-47143';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user