diff --git a/src/wp-includes/kses.php b/src/wp-includes/kses.php
index ba96b08..82e22f3 100644
a
|
b
|
function wp_kses_attr($element, $attr, $allowed_html, $allowed_protocols) { |
788 | 788 | } // if !is_array($current) |
789 | 789 | } // foreach |
790 | 790 | |
| 791 | // Allow attr-* attributes. |
| 792 | foreach ( $attrarr as $attr ) { |
| 793 | if ( 0 === strpos( $attr['name'], 'aria-' ) ) { |
| 794 | $attr2 .= $arreach['whole']; |
| 795 | } |
| 796 | } |
| 797 | |
791 | 798 | // Remove any "<" or ">" characters |
792 | 799 | $attr2 = preg_replace('/[<>]/', '', $attr2); |
793 | 800 | |