Ticket #55370: 55370.1.diff
File 55370.1.diff, 1.7 KB (added by , 2 years ago) |
---|
-
src/wp-includes/kses.php
2608 2608 * @since 3.5.0 2609 2609 * @since 5.0.0 Added support for `data-*` wildcard attributes. 2610 2610 * @since 6.0.0 Added `dir`, `lang`, and `xml:lang` to global attributes. 2611 * @since 6.3.0 Added `aria-controls`, `aria-current`, and `aria-expanded` attributes. 2611 2612 * 2612 2613 * @access private 2613 2614 * @ignore … … 2617 2618 */ 2618 2619 function _wp_add_global_attributes( $value ) { 2619 2620 $global_attributes = array( 2621 'aria-controls' => true, 2622 'aria-current' => true, 2620 2623 'aria-describedby' => true, 2621 2624 'aria-details' => true, 2625 'aria-expanded' => true, 2622 2626 'aria-label' => true, 2623 2627 'aria-labelledby' => true, 2624 2628 'aria-hidden' => true,