diff --git a/src/wp-admin/themes.php b/src/wp-admin/themes.php
index 80486748f4..31a2e26d64 100644
|
a
|
b
|
if ( ! validate_current_theme() || isset( $_GET['broken'] ) ) { |
| 271 | 271 | } elseif ( isset( $_GET['activated'] ) ) { |
| 272 | 272 | if ( isset( $_GET['previewed'] ) ) { |
| 273 | 273 | wp_admin_notice( |
| 274 | | __( 'Settings saved and theme activated.' ) . '<a href="' . esc_url( home_url( '/' ) ) . '">' . __( 'Visit site' ) . '</a>', |
| | 274 | __( 'Settings saved and theme activated.' ) . ' <a href="' . esc_url( home_url( '/' ) ) . '">' . __( 'Visit site' ) . '</a>', |
| 275 | 275 | array( |
| 276 | 276 | 'id' => 'message2', |
| 277 | 277 | 'additional_classes' => array( 'updated' ), |
| … |
… |
if ( ! validate_current_theme() || isset( $_GET['broken'] ) ) { |
| 280 | 280 | ); |
| 281 | 281 | } else { |
| 282 | 282 | wp_admin_notice( |
| 283 | | __( 'New theme activated.' ) . '<a href="' . esc_url( home_url( '/' ) ) . '">' . __( 'Visit site' ) . '</a>', |
| | 283 | __( 'New theme activated.' ) . ' <a href="' . esc_url( home_url( '/' ) ) . '">' . __( 'Visit site' ) . '</a>', |
| 284 | 284 | array( |
| 285 | 285 | 'id' => 'message2', |
| 286 | 286 | 'additional_classes' => array( 'updated' ), |