Make WordPress Core

Ticket #31848: 31848.patch

File 31848.patch, 910 bytes (added by ramiy, 11 years ago)
  • user-edit.php

     
    402402        $new_email = get_option( $current_user->ID . '_new_email' );
    403403        if ( $new_email && $new_email['newemail'] != $current_user->user_email && $profileuser->ID == $current_user->ID ) : ?>
    404404        <div class="updated inline">
    405         <p><?php printf( __('There is a pending change of your e-mail to <code>%1$s</code>. <a href="%2$s">Cancel</a>'), $new_email['newemail'], esc_url( self_admin_url( 'profile.php?dismiss=' . $current_user->ID . '_new_email' ) ) ); ?></p>
     405        <p><?php printf( __('There is a pending change of your e-mail to %1$s. <a href="%2$s">Cancel</a>'), '<code>'.$new_email['newemail'].'</code>', esc_url( self_admin_url( 'profile.php?dismiss=' . $current_user->ID . '_new_email' ) ) ); ?></p>
    406406        </div>
    407407        <?php endif; ?>
    408408        </td>