Changes for src/XmlSitemapLinkStorage.php: 1 added line, 1 removed line.
Original line number
Diff line number
Diff line
@@ -120,7 +120,7 @@ class XmlSitemapLinkStorage implements XmlSitemapLinkStorageInterface {
trigger_error(t('Invalid sitemap link priority %priority.<br />@link',['%priority'=>$link['priority'],'@link'=>var_export($link,TRUE)]),E_USER_ERROR);
}
if($link['changecount']<0){
trigger_error(t('Negative changecount value. Please report this to <a href="@516928">@516928</a>.<br />@link',['@516928'=>'http://drupal.org/node/516928','@link'=>var_export($link,TRUE)]),E_USER_ERROR);
trigger_error(t('Negative changecount value. Please report this to <a href="@516928">@516928</a>.<br />@link',['@516928'=>'https://www.drupal.org/node/516928','@link'=>var_export($link,TRUE)]),E_USER_ERROR);
Changes for xmlsitemap.install: 3 added lines, 3 removed lines.
Original line number
Diff line number
Diff line
@@ -31,7 +31,7 @@ function xmlsitemap_requirements($phase) {
'value'=>$t('Disabled'),
'severity'=>REQUIREMENT_ERROR,
'description'=>$t("The XML sitemap module requires you to enable the PHP extensions in the following list (see the <a href=\"@xmlsitemap_requirements\">module's system requirements page</a> for more information):",[
$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'=>'http://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/30264']);
}
else{
$directories=xmlsitemap_check_all_directories();
@@ -69,7 +69,7 @@ function xmlsitemap_requirements($phase) {
$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'=>'http://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/30264']);