From 0cbdf53b181845cff24ea43f0b83a4ecfa48c1fb Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 25 Feb 2014 00:01:14 +0000 Subject: [PATCH] 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 --- wp-admin/includes/class-wp-theme-install-list-table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/class-wp-theme-install-list-table.php b/wp-admin/includes/class-wp-theme-install-list-table.php index 50e597839c..af06783e7f 100644 --- a/wp-admin/includes/class-wp-theme-install-list-table.php +++ b/wp-admin/includes/class-wp-theme-install-list-table.php @@ -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();