Make WordPress Core

Ticket #27869: 27869.diff

File 27869.diff, 545 bytes (added by nacin, 11 years ago)
  • src/wp-admin/includes/ajax-actions.php

     
    22332233                wp_send_json_error();
    22342234        }
    22352235
    2236         $update_php = self_admin_url( 'update.php?action=install-theme' );
     2236        $update_php = network_admin_url( 'update.php?action=install-theme' );
    22372237        foreach ( $api->themes as &$theme ) {
    22382238                $theme->install_url = add_query_arg( array(
    22392239                        'theme'    => $theme->slug,