summaryrefslogtreecommitdiff
path: root/modules/akismet/helpers
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-08-29 16:28:30 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-08-29 16:28:30 -0700
commitb4b638be44375c93f5222c7b48ed547845d6d7e5 (patch)
treea81bdf92946ae4e776bcb2d5f6357c08fa616080 /modules/akismet/helpers
parent0204617b602183a3e157bc7e23c617acd22a5212 (diff)
Undo url helper changes - url methods no longer return a SafeString.
Adding SafeString::of_safe_html() calls where urls are passed as parameters to t() and t2().
Diffstat (limited to 'modules/akismet/helpers')
-rw-r--r--modules/akismet/helpers/akismet.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/akismet/helpers/akismet.php b/modules/akismet/helpers/akismet.php
index db45a6ab..abca78d2 100644
--- a/modules/akismet/helpers/akismet.php
+++ b/modules/akismet/helpers/akismet.php
@@ -94,7 +94,7 @@ class akismet_Core {
if (empty($api_key)) {
site_status::warning(
t("Akismet is not quite ready! Please provide an <a href=\"%url\">API Key</a>",
- array("url" => url::site("admin/akismet"))),
+ array("url" => SafeString::of_safe_html(url::site("admin/akismet")))),
"akismet_config");
} else {
site_status::clear("akismet_config");