- Timestamp:
- 05/16/2012 09:08:10 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-theme-install-list-table.php
r20791 r20811 221 221 } 222 222 223 $actions[] = '<a class="install-theme-preview" href=" #" title="' . esc_attr( sprintf( __( 'Preview %s' ), $name ) ) . '">' . __( 'Preview' ) . '</a>';223 $actions[] = '<a class="install-theme-preview" href="' . esc_url( $preview_url ) . '" title="' . esc_attr( sprintf( __( 'Preview %s' ), $name ) ) . '">' . __( 'Preview' ) . '</a>'; 224 224 225 225 $actions = apply_filters( 'theme_install_actions', $actions, $theme );
Note: See TracChangeset
for help on using the changeset viewer.