WordPress.org

Make WordPress Core

Changeset 20695


Ignore:
Timestamp:
05/02/12 20:22:02 (2 years ago)
Author:
koopersmith
Message:

Add quote to fix 'Customize' link after new theme install on Chrome. props DH-Shredder, see #19910.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-upgrader.php

    r20619 r20695  
    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 
Note: See TracChangeset for help on using the changeset viewer.