XSS in basic theme installation
This commit is contained in:
parent
cba5bc9c70
commit
0b42116717
@ -47,7 +47,7 @@
|
|||||||
if(!function_exists('build_install')) {
|
if(!function_exists('build_install')) {
|
||||||
function build_install($settings) {
|
function build_install($settings) {
|
||||||
if(!is_numeric($settings['no_recent']) || $settings['no_recent'] < 0)
|
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.');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user