diff --git a/core/modules/system/system.module b/core/modules/system/system.module index 7c99212..384eeb0 100644 --- a/core/modules/system/system.module +++ b/core/modules/system/system.module @@ -414,6 +414,7 @@ function system_authorized_init($callback, $file, $arguments = array(), $page_ti * * @param array $options * Optional array of options to pass to url(). + * * @return \Drupal\Core\Url * The full URL to authorize.php, using HTTPS if available. * diff --git a/core/modules/update/update.authorize.inc b/core/modules/update/update.authorize.inc index 1085380..7493f81 100644 --- a/core/modules/update/update.authorize.inc +++ b/core/modules/update/update.authorize.inc @@ -49,6 +49,7 @@ function update_authorize_run_update($filetransfer, $projects) { 'operations' => $operations, 'finished' => 'update_authorize_update_batch_finished', 'file' => drupal_get_path('module', 'update') . '/update.authorize.inc', + 'url' => system_authorized_get_url(['query' => ['batch' => '1']]), ); // Batch will be executed via authorize.php. @@ -93,6 +94,7 @@ function update_authorize_run_install($filetransfer, $project, $updater_name, $l // @todo Use a different finished callback for different messages? 'finished' => 'update_authorize_install_batch_finished', 'file' => drupal_get_path('module', 'update') . '/update.authorize.inc', + 'url' => system_authorized_get_url(['query' => ['batch' => '1']]), ); // Batch will be excuted via authorized.php.