WordPress.org

Make WordPress Core

Ticket #14435: 14435.9.diff

File 14435.9.diff, 548 bytes (added by PeteMall, 9 years ago)

Fix dashboard link to network admin

  • wp-admin/update-core.php

     
    341341                        show_message( __('Installation Failed') );
    342342        } else {
    343343                show_message( __('WordPress updated successfully') );
    344                 show_message( '<a href="' . esc_url( admin_url() ) . '">' . __('Go to Dashboard') . '</a>' );
     344                show_message( '<a href="' . esc_url( self_admin_url() ) . '">' . __('Go to Dashboard') . '</a>' );
    345345        }
    346346        echo '</div>';
    347347}