aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/languages_new.php5
-rw-r--r--admin/plugins_new.php2
-rw-r--r--admin/themes_new.php2
3 files changed, 5 insertions, 4 deletions
diff --git a/admin/languages_new.php b/admin/languages_new.php
index 4c7804aa5..da0d31bfd 100644
--- a/admin/languages_new.php
+++ b/admin/languages_new.php
@@ -97,8 +97,9 @@ if (isset($_GET['installstatus']))
break;
default:
- array_push($page['errors'],
- sprintf(l10n('An error occured during extraction (%s).'), $_GET['installstatus'])
+ array_push(
+ $page['errors'],
+ sprintf(l10n('An error occured during extraction (%s).'), htmlspecialchars($_GET['installstatus']))
);
}
}
diff --git a/admin/plugins_new.php b/admin/plugins_new.php
index f6d82444b..747652269 100644
--- a/admin/plugins_new.php
+++ b/admin/plugins_new.php
@@ -76,7 +76,7 @@ if (isset($_GET['installstatus']))
default:
array_push($page['errors'],
- sprintf(l10n('An error occured during extraction (%s).'), $_GET['installstatus']),
+ sprintf(l10n('An error occured during extraction (%s).'), htmlspecialchars($_GET['installstatus'])),
l10n('Please check "plugins" folder and sub-folders permissions (CHMOD).'));
}
}
diff --git a/admin/themes_new.php b/admin/themes_new.php
index 444110b54..9f16a0a85 100644
--- a/admin/themes_new.php
+++ b/admin/themes_new.php
@@ -102,7 +102,7 @@ if (isset($_GET['installstatus']))
default:
array_push(
$page['errors'],
- sprintf(l10n('An error occured during extraction (%s).'), $_GET['installstatus'])
+ sprintf(l10n('An error occured during extraction (%s).'), htmlspecialchars($_GET['installstatus']))
);
}
}