Make WordPress Core

Ticket #35745: 35745.patch

File 35745.patch, 1.3 KB (added by ramiy, 8 years ago)
  • wp-admin/themes.php

     
    162162<div id="message1" class="updated notice is-dismissible"><p><?php _e('The active theme is broken. Reverting to the default theme.'); ?></p></div>
    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']) ) : ?>
    170170<div id="message3" class="updated notice is-dismissible"><p><?php _e('Theme deleted.') ?></p></div>