Escape root attribute values

This commit is contained in:
Tetrakern 2024-02-14 11:53:56 +01:00
parent 36a8c1a39f
commit 9971789d04

View File

@ -369,7 +369,7 @@ function fictioneer_root_attributes() {
// Output // Output
foreach ( $output as $key => $value ) { foreach ( $output as $key => $value ) {
echo "{$key}='{$value}' "; echo "{$key}='" . esc_attr( $value ) . "' ";
} }
} }