From b89775445efdcdb81567f5485266e3cd45a1b234 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sat, 19 Apr 2014 18:18:16 +0000 Subject: [PATCH] Theme Installer: Proper redirection and action links post-install in multisite. fixes #27869. Built from https://develop.svn.wordpress.org/trunk@28163 git-svn-id: http://core.svn.wordpress.org/trunk@27994 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/ajax-actions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/ajax-actions.php b/wp-admin/includes/ajax-actions.php index ba26be0ded..ed78e3c01d 100644 --- a/wp-admin/includes/ajax-actions.php +++ b/wp-admin/includes/ajax-actions.php @@ -2233,7 +2233,7 @@ function wp_ajax_query_themes() { wp_send_json_error(); } - $update_php = self_admin_url( 'update.php?action=install-theme' ); + $update_php = network_admin_url( 'update.php?action=install-theme' ); foreach ( $api->themes as &$theme ) { $theme->install_url = add_query_arg( array( 'theme' => $theme->slug,