Make WordPress Core


Ignore:
Timestamp:
02/23/2016 11:26:44 PM (9 years ago)
Author:
SergeyBiryukov
Message:

I18N: Remove <a> tag from translatable string in wp-admin/user-edit.php.

Add translator comment.

Props ramiy.
Fixes #35672.

File:
1 edited

Legend:

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

    r35613 r36655  
    389389    <p><?php
    390390        printf(
    391             __( 'There is a pending change of your email to %1$s. <a href="%2$s">Cancel</a>' ),
    392             '<code>' . $new_email['newemail'] . '</code>',
    393             esc_url( self_admin_url( 'profile.php?dismiss=' . $current_user->ID . '_new_email' ) )
    394     ); ?></p>
     391            /* translators: %s: new email */
     392            __( 'There is a pending change of your email to %s.' ),
     393            '<code>' . $new_email['newemail'] . '</code>'
     394        );
     395        printf(
     396            ' <a href="%1$s">%2$s</a>',
     397            esc_url( self_admin_url( 'profile.php?dismiss=' . $current_user->ID . '_new_email' ) ),
     398            __( 'Cancel' )
     399        );
     400    ?></p>
    395401    </div>
    396402    <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.