add more output sanitization

This commit is contained in:
Stefan Kalscheuer 2023-11-09 18:24:24 +01:00
parent 61ba951f0b
commit 3f8c9acdc0
Signed by: stefan
GPG Key ID: 3887EC2A53B55430

View File

@ -57,7 +57,7 @@ if ( ! defined( 'ABSPATH' ) ) {
for ( $i = 1; $i <= 10; $i++ ) {
printf(
'<option value="%d"%s>%d</option>',
$i,
intval( $i ),
( $i === $count ) ? ' selected' : '',
intval( $i )
);