Commit 397f4a6e authored by alexpott's avatar alexpott
Browse files

Issue #2410031 by rocketeerbkw, BiigNiick: Simpletest install requirements double escaped

parent 01382db4
......@@ -71,8 +71,8 @@ function simpletest_requirements($phase) {
'title' => t('Simpletest site directory'),
'value' => is_dir(\Drupal::root() . '/' . $site_directory) ? t('Not writable') : t('Missing'),
'severity' => REQUIREMENT_ERROR,
'description' => t('The testing framework requires the !sites-simpletest directory to exist and be writable in order to run tests.', array(
'!sites-simpletest' => '<code>./' . String::checkPlain($site_directory) . '</code>',
'description' => t('The testing framework requires the %sites-simpletest directory to exist and be writable in order to run tests.', array(
'%sites-simpletest' => $site_directory,
)),
);
}
......@@ -81,8 +81,8 @@ function simpletest_requirements($phase) {
'title' => t('Simpletest site directory'),
'value' => t('Not protected'),
'severity' => REQUIREMENT_ERROR,
'description' => t('The file !file does not exist and could not be created automatically, which poses a security risk. Ensure that the directory is writable.', array(
'!file' => '<code>./' . String::checkPlain($site_directory) . '/.htaccess</code>',
'description' => t('The file %file does not exist and could not be created automatically, which poses a security risk. Ensure that the directory is writable.', array(
'%file' => $site_directory . '/.htaccess',
)),
);
}
......
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