WordPress.org

Make WordPress Core

Changeset 36657


Ignore:
Timestamp:
02/23/2016 11:38:28 PM (2 years ago)
Author:
SergeyBiryukov
Message:

I18N: Remove <a> tags from translatable strings in wp-admin/themes.php.

Props ramiy.
Fixes #35745.

File:
1 edited

Legend:

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

    r36638 r36657  
    163163<?php elseif ( isset($_GET['activated']) ) :
    164164        if ( isset( $_GET['previewed'] ) ) { ?>
    165         <div id="message2" class="updated notice is-dismissible"><p><?php printf( __( 'Settings saved and theme activated. <a href="%s">Visit site</a>' ), home_url( '/' ) ); ?></p></div>
     165        <div id="message2" class="updated notice is-dismissible"><p><?php _e( 'Settings saved and theme activated.' ); ?> <a href="<?php echo home_url( '/' ); ?>"><?php _e( 'Visit site' ); ?></a></p></div>
    166166        <?php } else { ?>
    167 <div id="message2" class="updated notice is-dismissible"><p><?php printf( __( 'New theme activated. <a href="%s">Visit site</a>' ), home_url( '/' ) ); ?></p></div><?php
     167<div id="message2" class="updated notice is-dismissible"><p><?php _e( 'New theme activated.' ); ?> <a href="<?php echo home_url( '/' ); ?>"><?php _e( 'Visit site' ); ?></a></p></div><?php
    168168        }
    169169    elseif ( isset($_GET['deleted']) ) : ?>
Note: See TracChangeset for help on using the changeset viewer.