Fix Dashboard link in Network Admin on update-core. props PeteMall, see #14435.

git-svn-id: http://svn.automattic.com/wordpress/trunk@15979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-10-26 17:41:43 +00:00
parent 0d5278ebfe
commit 5eae13f4c0

View File

@ -341,7 +341,7 @@ function do_core_upgrade( $reinstall = false ) {
show_message( __('Installation Failed') );
} else {
show_message( __('WordPress updated successfully') );
show_message( '<a href="' . esc_url( admin_url() ) . '">' . __('Go to Dashboard') . '</a>' );
show_message( '<a href="' . esc_url( self_admin_url() ) . '">' . __('Go to Dashboard') . '</a>' );
}
echo '</div>';
}