WordPress 3.9.1
[autoinstalls/wordpress.git] / wp-admin / includes / ajax-actions.php
index ba26be0ded13a828f2037cef9f0d4556ef40f2e2..ed78e3c01d3414d564ca1ffdd758643236376a22 100644 (file)
@@ -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,