Skip to content

Commit

Permalink
Administration: Add missing space in theme activation notices.
Browse files Browse the repository at this point in the history
Restore missing space in two admin notices during theme activation.

Props shailu25, sergeybiryukov, mukesh27, hellofromtonya.
Fixes #59501. See #57791.

git-svn-id: https://develop.svn.wordpress.org/trunk@56800 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
joedolson committed Oct 8, 2023
1 parent 9b2ed59 commit 1e3214a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wp-admin/themes.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@
} elseif ( isset( $_GET['activated'] ) ) {
if ( isset( $_GET['previewed'] ) ) {
wp_admin_notice(
__( 'Settings saved and theme activated.' ) . '<a href="' . esc_url( home_url( '/' ) ) . '">' . __( 'Visit site' ) . '</a>',
__( 'Settings saved and theme activated.' ) . ' <a href="' . esc_url( home_url( '/' ) ) . '">' . __( 'Visit site' ) . '</a>',
array(
'id' => 'message2',
'additional_classes' => array( 'updated' ),
Expand All @@ -280,7 +280,7 @@
);
} else {
wp_admin_notice(
__( 'New theme activated.' ) . '<a href="' . esc_url( home_url( '/' ) ) . '">' . __( 'Visit site' ) . '</a>',
__( 'New theme activated.' ) . ' <a href="' . esc_url( home_url( '/' ) ) . '">' . __( 'Visit site' ) . '</a>',
array(
'id' => 'message2',
'additional_classes' => array( 'updated' ),
Expand Down

0 comments on commit 1e3214a

Please sign in to comment.