diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc index a787cc0671..dd68804389 100644 --- a/core/includes/bootstrap.inc +++ b/core/includes/bootstrap.inc @@ -457,7 +457,7 @@ function watchdog_exception($type, Exception $exception, $message = NULL, $varia * @see drupal_get_messages() * @see status-messages.html.twig * - * @deprecated Deprecated as of Drupal 8.4. + * @deprecated in Drupal 8.5.0, will be removed before Drupal 9.0.0. * Use \Drupal::service('messenger')->addMessage() instead. */ function drupal_set_message($message = NULL, $type = 'status', $repeat = FALSE) { @@ -499,7 +499,7 @@ function drupal_set_message($message = NULL, $type = 'status', $repeat = FALSE) * @see drupal_set_message() * @see status-messages.html.twig * - * @deprecated Deprecated as of Drupal 8.4. + * @deprecated in Drupal 8.5.0, will be removed before Drupal 9.0.0. * Use \Drupal::service('messenger')->getMessages() or * \Drupal::service('messenger')->getMessagesByType() instead. */