Fix theme preview URL for themes loaded via AJAX on Install Themes screen.

props ocean90.
fixes #27128.

git-svn-id: https://develop.svn.wordpress.org/trunk@27247 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2014-02-25 00:00:48 +00:00
parent d885ca8e31
commit fc2230e12a

View File

@ -192,7 +192,7 @@ class WP_Theme_Install_List_Table extends WP_Themes_List_Table {
$preview_url = add_query_arg( array(
'tab' => 'theme-information',
'theme' => $theme->slug,
) );
), self_admin_url( 'theme-install.php' ) );
$actions = array();