Escape root attribute values
This commit is contained in:
parent
36a8c1a39f
commit
9971789d04
@ -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 ) . "' ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user