Skip to content

Commit

Permalink
Install Themes: Add link to the no-js theme previewer to the 'Preview…
Browse files Browse the repository at this point in the history
…' link. props ocean90, fixes #20694.

git-svn-id: http://core.svn.wordpress.org/trunk@20811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
koopersmith committed May 16, 2012
1 parent 2138467 commit cf81f30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-admin/includes/class-wp-theme-install-list-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ function single_row( $theme ) {
break;
}

$actions[] = '<a class="install-theme-preview" href="#" title="' . esc_attr( sprintf( __( 'Preview %s' ), $name ) ) . '">' . __( 'Preview' ) . '</a>';
$actions[] = '<a class="install-theme-preview" href="' . esc_url( $preview_url ) . '" title="' . esc_attr( sprintf( __( 'Preview %s' ), $name ) ) . '">' . __( 'Preview' ) . '</a>';

$actions = apply_filters( 'theme_install_actions', $actions, $theme );

Expand Down

0 comments on commit cf81f30

Please sign in to comment.