diff --git a/core/modules/node/node.install b/core/modules/node/node.install index 034da3b..2c6a8e4 100644 --- a/core/modules/node/node.install +++ b/core/modules/node/node.install @@ -26,14 +26,14 @@ function node_requirements($phase) { else { $value = t('Disabled'); } - $description = t('If the site is experiencing problems with permissions to content, you may have to rebuild the permissions cache. Rebuilding will remove all privileges to content and replace them with permissions based on the current modules and settings. Rebuilding may take some time if there is a lot of content or complex permission settings. After rebuilding has completed, content will automatically use the new permissions.'); $requirements['node_access'] = array( 'title' => t('Node Access Permissions'), 'value' => $value, - // The result of t() is safe and so is the result of l(). Preserving - // safe object. - 'description' => SafeMarkup::set($description . ' ' . \Drupal::l(t('Rebuild permissions'), new Url('node.configure_rebuild_confirm'))), + // The result of t() is safe as the URL is not based on user input. + 'description' => t('If the site is experiencing problems with permissions to content, you may have to rebuild the permissions cache. Rebuilding will remove all privileges to content and replace them with permissions based on the current modules and settings. Rebuilding may take some time if there is a lot of content or complex permission settings. After rebuilding has completed, content will automatically use the new permissions. Rebuild permissions', array( + '@rebuild' => \Drupal::url('node.configure_rebuild_confirm'), + )), ); } return $requirements;