Ticket #20914: 20914.diff
| File 20914.diff, 838 bytes (added by duck_, 12 months ago) |
|---|
-
wp-admin/includes/class-wp-upgrader.php
1513 1513 'template' => $template, 1514 1514 'stylesheet' => $stylesheet, 1515 1515 ), admin_url('themes.php') ); 1516 $activate_link = wp_nonce_url( $activate_link, 'switch-theme_' . $ template);1516 $activate_link = wp_nonce_url( $activate_link, 'switch-theme_' . $stylesheet ); 1517 1517 1518 1518 $install_actions = array(); 1519 1519 $install_actions['preview'] = '<a href="' . esc_url( $preview_link ) . '" class="hide-if-customize" title="' . esc_attr( sprintf( __('Preview “%s”'), $name ) ) . '">' . __('Preview') . '</a>'; … … 1673 1673 1674 1674 return true; 1675 1675 } 1676 } 1677 No newline at end of file 1676 }