diff --git a/core/modules/update/update.module b/core/modules/update/update.module old mode 100644 new mode 100755 index ba95715..7324e83 --- a/core/modules/update/update.module +++ b/core/modules/update/update.module @@ -517,7 +517,7 @@ function _update_message_text($msg_type, $msg_reason, $report_link = FALSE, $lan case UPDATE_NOT_CHECKED: case UPDATE_NOT_FETCHED: case UPDATE_FETCH_PENDING: - $text = t('There was a problem checking available updates for Drupal.', array(), array('langcode' => $langcode)); + $text = t('There was a problem checking available updates.', [], ['langcode' => $langcode]); // If there was a problem checking updates, linking to the update manager // doesn't make sense since there is nothing to update. @@ -534,6 +534,9 @@ function _update_message_text($msg_type, $msg_reason, $report_link = FALSE, $lan if (!$skip_update_manager && update_manager_access()) { $text .= ' ' . t('See the available updates page for more information and to install your missing updates.', array('@available_updates' => \Drupal::url('update.report_update', [], ['language' => $language])), array('langcode' => $langcode)); } + else { + $text .= ' ' . t('See the available updates page for more information.', array('@available_updates' => \Drupal::url('update.status', [], ['language' => $language])), array('langcode' => $langcode)); + } } // All strings are t() and empty space concatenated so return SafeMarkup.