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