diff --git a/src/wp-includes/kses.php b/src/wp-includes/kses.php index 18f183cf3dd19..dfb1f415d7297 100644 --- a/src/wp-includes/kses.php +++ b/src/wp-includes/kses.php @@ -109,10 +109,13 @@ ), 'br' => array(), 'button' => array( - 'disabled' => true, - 'name' => true, - 'type' => true, - 'value' => true, + 'disabled' => true, + 'name' => true, + 'type' => true, + 'value' => true, + 'popovertarget' => true, + 'popovertargetaction' => true, + 'aria-haspopup' => true, ), 'caption' => array( 'align' => true, @@ -145,7 +148,13 @@ 'open' => true, ), 'div' => array( - 'align' => true, + 'align' => true, + 'popover' => true, + ), + 'dialog' => array( + 'closedby' => true, + 'open' => true, + 'popover' => true, ), 'dl' => array(), 'dt' => array(), @@ -362,7 +371,9 @@ 'tt' => array(), 'u' => array(), 'ul' => array( - 'type' => true, + 'type' => true, + 'popover' => true, + 'role' => true, ), 'ol' => array( 'start' => true,