Skip to content

Commit

Permalink
"vless" should be "y"/"n" not true/false
Browse files Browse the repository at this point in the history
  • Loading branch information
dmsnell committed Sep 21, 2024
1 parent 6a918c8 commit 87d0efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-includes/kses.php
Original file line number Diff line number Diff line change
Expand Up @@ -1416,7 +1416,7 @@ function wp_kses_hair( $attr, $allowed_protocols ) {
'name' => $attribute_name,
'value' => $is_boolean ? '' : $value,
'whole' => $is_boolean ? $attribute_name : "{$attribute_name}=\"{$value}\"",
'vless' => $is_boolean,
'vless' => $is_boolean ? 'y' : 'n',
);
}

Expand Down

0 comments on commit 87d0efe

Please sign in to comment.