WordPress.org

Make WordPress Core

Ticket #42218: 42218.diff

File 42218.diff, 1.2 KB (added by chetan200891, 3 years ago)

I've attached the patch 42218.diff.

  • wp-admin/options-general.php

    diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php
    index 1c91300..ead68d2 100644
    a b include( ABSPATH . 'wp-admin/admin-header.php' ); 
    8888<tr>
    8989<th scope="row"><label for="new_admin_email"><?php _e( 'Email Address' ); ?></label></th>
    9090<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" />
    91 <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>
     91<p class="description" id="new-admin-email-description"><?php _e( 'This email address is used for admin purposes. If you change this we will send you an email at your new email address to confirm it. <strong>The new email address will not become active until confirmed.</strong>' ); ?></p>
    9292<?php
    9393$new_admin_email = get_option( 'new_admin_email' );
    9494if ( $new_admin_email && $new_admin_email != get_option( 'admin_email' ) ) : ?>