diff --git a/wp-admin/update-core.php b/wp-admin/update-core.php index c388f43616..ff327006e6 100644 --- a/wp-admin/update-core.php +++ b/wp-admin/update-core.php @@ -19,6 +19,7 @@ function list_core_update( $update ) { if ( !isset($update->response) || 'latest' == $update->response ) $current = true; $submit = __('Upgrade Automatically'); + $form_action = 'update-core.php?action=do-core-upgrade'; if ( 'development' == $update->response ) { $message = __('You are using a development version of WordPress. You can upgrade to the latest nightly build automatically or download the nightly build and install it manually:'); $download = __('Download nightly build'); @@ -26,6 +27,7 @@ function list_core_update( $update ) { if ( $current ) { $message = sprintf(__('You have the latest version of WordPress. You do not need to upgrade. However, if you want to re-install version %s, you can do so automatically or download the package and re-install manually:'), $version_string); $submit = __('Re-install Automatically'); + $form_action = 'update-core.php?action=do-core-reinstall'; } else { $message = sprintf(__('You can upgrade to version %s automatically or download the package and install it manually:'), $version_string); } @@ -35,7 +37,7 @@ function list_core_update( $update ) { echo '
'; echo $message; echo '
'; - echo '