WordPress.org

Make WordPress Core

Ticket #19910: 19910.customizeAfterInstall.diff

File 19910.customizeAfterInstall.diff, 1.1 KB (added by DH-Shredder, 2 years ago)

Adds quote to fix "Customize" link after new theme install on Chrome

  • wp-admin/includes/class-wp-upgrader.php

     
    15201520 
    15211521                $install_actions = array(); 
    15221522                $install_actions['preview']  = '<a href="' . esc_url( $preview_link ) . '" class="hide-if-customize" title="' . esc_attr(sprintf(__('Preview &#8220;%s&#8221;'), $name ) ) . '">' . __('Preview') . '</a>'; 
    1523                 $install_actions['preview'] .= '<a href="' . wp_customize_url( $stylesheet ) . '" class="hide-if-no-customize load-customize>' . __('Customize') . '</a>'; 
     1523                $install_actions['preview'] .= '<a href="' . wp_customize_url( $stylesheet ) . '" class="hide-if-no-customize load-customize">' . __('Customize') . '</a>'; 
    15241524                $install_actions['activate'] = '<a href="' . esc_url( $activate_link ) . '" class="activatelink" title="' . esc_attr( sprintf( __('Activate &#8220;%s&#8221;'), $name ) ) . '">' . __('Activate') . '</a>'; 
    15251525 
    15261526                if ( is_network_admin() && current_user_can( 'manage_network_themes' ) )