diff --git a/src/wp-admin/themes.php b/src/wp-admin/themes.php
index ba897614db..6dcc909252 100644
a
|
b
|
if ( ! validate_current_theme() || isset( $_GET['broken'] ) ) { |
266 | 266 | } elseif ( isset( $_GET['activated'] ) ) { |
267 | 267 | if ( isset( $_GET['previewed'] ) ) { |
268 | 268 | ?> |
269 | | <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> |
| 269 | <div id="message2" class="updated notice is-dismissible"><p><?php _e( 'Settings saved and theme activated.' ); ?> <a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php _e( 'Visit site' ); ?></a></p></div> |
270 | 270 | <?php |
271 | 271 | } else { |
272 | 272 | ?> |
273 | | <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> |
| 273 | <div id="message2" class="updated notice is-dismissible"><p><?php _e( 'New theme activated.' ); ?> <a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php _e( 'Visit site' ); ?></a></p></div> |
274 | 274 | <?php |
275 | 275 | } |
276 | 276 | } elseif ( isset( $_GET['deleted'] ) ) { |