Make WordPress Core

Ticket #59501: 59501.3.patch

File 59501.3.patch, 1.1 KB (added by shailu25, 2 years ago)

Updated Patch

  • src/wp-admin/themes.php

    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'] ) ) { 
    271271} elseif ( isset( $_GET['activated'] ) ) {
    272272        if ( isset( $_GET['previewed'] ) ) {
    273273                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>',
    275275                        array(
    276276                                'id'                 => 'message2',
    277277                                'additional_classes' => array( 'updated' ),
    if ( ! validate_current_theme() || isset( $_GET['broken'] ) ) { 
    280280                );
    281281        } else {
    282282                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>',
    284284                        array(
    285285                                'id'                 => 'message2',
    286286                                'additional_classes' => array( 'updated' ),