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

props ocean90.
fixes #27128.
Built from https://develop.svn.wordpress.org/trunk@27247


git-svn-id: http://core.svn.wordpress.org/trunk@27104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2014-02-25 00:01:14 +00:00
parent 5d3e652c23
commit 0cbdf53b18

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();