Make WordPress Core

Ticket #59387: patch.diff

File patch.diff, 819 bytes (added by wildworks, 22 months ago)
  • src/wp-includes/kses.php

    diff --git src/wp-includes/kses.php src/wp-includes/kses.php
    index ce21bf5bd7..f4b5f3d4be 100644
    function safecss_filter_attr( $css, $deprecated = '' ) { 
    24702470                        'z-index',
    24712471                        'box-shadow',
    24722472                        'aspect-ratio',
     2473                        'writing-mode',
    24732474
    24742475                        // Custom CSS properties.
    24752476                        '--*',
  • tests/phpunit/tests/kses.php

    diff --git tests/phpunit/tests/kses.php tests/phpunit/tests/kses.php
    index a19df38626..f3e55adcd8 100644
    EOF; 
    13411341                                'css'      => 'grid-template-columns: repeat(4, unsupported(0, 1fr)',
    13421342                                'expected' => '',
    13431343                        ),
     1344                        // Wiritng mode introduced in 6.4.
     1345                        array(
     1346                                'css'      => 'writing-mode: vertical-rl',
     1347                                'expected' => 'writing-mode: vertical-rl',
     1348                        ),
    13441349                );
    13451350        }
    13461351