Make WordPress Core

Changeset 36656


Ignore:
Timestamp:
02/23/2016 11:27:47 PM (8 years ago)
Author:
SergeyBiryukov
Message:

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

Add translator comment.

Props ramiy.
Fixes #35673.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/options-general.php

    r36585 r36656  
    106106<div class="updated inline">
    107107<p><?php
    108     /* translators: 1: new admin email, 2: Cancel link URL */
    109     printf( __( 'There is a pending change of the admin email to %1$s. <a href="%2$s">Cancel</a>' ),
    110         '<code>' . esc_html( $new_admin_email ) . '</code>',
    111         esc_url( admin_url( 'options.php?dismiss=new_admin_email' ) )
     108    printf(
     109        /* translators: %s: new admin email */
     110        __( 'There is a pending change of the admin email to %s.' ),
     111        '<code>' . esc_html( $new_admin_email ) . '</code>'
     112    );
     113    printf(
     114        ' <a href="%1$s">%2$s</a>',
     115        esc_url( admin_url( 'options.php?dismiss=new_admin_email' ) ),
     116        __( 'Cancel' )
    112117    );
    113118?></p>
Note: See TracChangeset for help on using the changeset viewer.