WordPress.org

Make WordPress Core

Ticket #30421: 30421.2.diff

File 30421.2.diff, 514 bytes (added by peterwilsoncc, 8 months ago)
  • src/wp-includes/kses.php

    diff --git src/wp-includes/kses.php src/wp-includes/kses.php
    index 0cf4ce14c4..d1928ca79e 100644
    function safecss_filter_attr( $css, $deprecated = '' ) { 
    18151815 */
    18161816function _wp_add_global_attributes( $value ) {
    18171817        $global_attributes = array(
     1818                'aria-describedby' => true,
     1819                'aria-details' => true,
     1820                'aria-label' => true,
     1821                'aria-labelledby' => true,
     1822                'aria-hidden' => true,
    18181823                'class' => true,
    18191824                'id' => true,
    18201825                'style' => true,