XSS in basic theme installation

This commit is contained in:
Michael Save 2012-02-14 20:45:27 +11:00
parent cba5bc9c70
commit 0b42116717

View File

@ -47,7 +47,7 @@
if(!function_exists('build_install')) {
function build_install($settings) {
if(!is_numeric($settings['no_recent']) || $settings['no_recent'] < 0)
return Array(false, '<strong>' . $settings['no_recent'] . '</strong> is not a non-negative integer.');
return Array(false, '<strong>' . utf8tohtml($settings['no_recent']) . '</strong> is not a non-negative integer.');
}
}