WordPress.org

Make WordPress Core

Changeset 32799


Ignore:
Timestamp:
06/16/2015 07:52:39 PM (4 years ago)
Author:
wonderboymusic
Message:

Avoid using <code> in a translation string.

Props ramiy.
Fixes #31848.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/user-edit.php

    r32625 r32799  
    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
     406        printf(
     407            __( 'There is a pending change of your e-mail to %1$s. <a href="%2$s">Cancel</a>' ),
     408            '<code>' . $new_email['newemail'] . '</code>',
     409            esc_url( self_admin_url( 'profile.php?dismiss=' . $current_user->ID . '_new_email' ) )
     410    ); ?></p>
    406411    </div>
    407412    <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.