Install Themes: Add link to the no-js theme previewer to the 'Preview' link. props ocean90, fixes #20694.
git-svn-id: https://develop.svn.wordpress.org/trunk@20811 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9f550982a1
commit
3ae49bd759
|
@ -220,7 +220,7 @@ class WP_Theme_Install_List_Table extends WP_Themes_List_Table {
|
|||
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 );
|
||||
|
||||
|
|
Loading…
Reference in New Issue