diff --git src/wp-includes/kses.php src/wp-includes/kses.php
index ce21bf5bd7..f4b5f3d4be 100644
|
|
function safecss_filter_attr( $css, $deprecated = '' ) { |
2470 | 2470 | 'z-index', |
2471 | 2471 | 'box-shadow', |
2472 | 2472 | 'aspect-ratio', |
| 2473 | 'writing-mode', |
2473 | 2474 | |
2474 | 2475 | // Custom CSS properties. |
2475 | 2476 | '--*', |
diff --git tests/phpunit/tests/kses.php tests/phpunit/tests/kses.php
index a19df38626..f3e55adcd8 100644
|
|
EOF; |
1341 | 1341 | 'css' => 'grid-template-columns: repeat(4, unsupported(0, 1fr)', |
1342 | 1342 | 'expected' => '', |
1343 | 1343 | ), |
| 1344 | // Wiritng mode introduced in 6.4. |
| 1345 | array( |
| 1346 | 'css' => 'writing-mode: vertical-rl', |
| 1347 | 'expected' => 'writing-mode: vertical-rl', |
| 1348 | ), |
1344 | 1349 | ); |
1345 | 1350 | } |
1346 | 1351 | |