Commit 55bea8db authored by RenatoG's avatar RenatoG Committed by RenatoG
Browse files

Issue #2882464 by RenatoG, Grienauer, sjerdo, G42: Wrong drupal.org link on status page

parent 29bf1ba2
......@@ -56,7 +56,7 @@ function xmlsitemap_requirements($phase) {
if (!xmlsitemap_check_directory()) {
$requirements['xmlsitemap_directory']['value'] = $t('Not found or not writable');
$requirements['xmlsitemap_directory']['severity'] = REQUIREMENT_ERROR;
$requirements['xmlsitemap_directory']['description'] = $t('The directory %directory was not found or is not writable by the server. See <a href="@docpage">@docpage</a> for more information.', ['%directory' => xmlsitemap_get_directory(), '@docpage' => 'https://www.drupal.org/node/30264']);
$requirements['xmlsitemap_directory']['description'] = $t('The directory %directory was not found or is not writable by the server. See <a href="@docpage">@docpage</a> for more information.', ['%directory' => xmlsitemap_get_directory(), '@docpage' => 'https://www.drupal.org/node/244924']);
}
else {
$directories = xmlsitemap_check_all_directories();
......@@ -69,7 +69,7 @@ function xmlsitemap_requirements($phase) {
$items = ['#theme' => 'item_list', '#items' => array_keys($directories)];
$requirements['xmlsitemap_directory']['value'] = $t('Not found or not writable');
$requirements['xmlsitemap_directory']['severity'] = REQUIREMENT_ERROR;
$requirements['xmlsitemap_directory']['description'] = $t('The following directories were not found or are not writable by the server. See <a href="@docpage">@docpage</a> for more information. @directories', ['@directories' => \Drupal::service('renderer')->render($items), '@docpage' => 'https://www.drupal.org/node/30264']);
$requirements['xmlsitemap_directory']['description'] = $t('The following directories were not found or are not writable by the server. See <a href="@docpage">@docpage</a> for more information. @directories', ['@directories' => \Drupal::service('renderer')->render($items), '@docpage' => 'https://www.drupal.org/node/244924']);
}
}
$sitemaps = xmlsitemap_sitemap_load_multiple();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment