Ticket #35079: 35079.patch
File 35079.patch, 906 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/kses.php
398 398 'ol' => array( 399 399 'start' => true, 400 400 'type' => true, 401 'reversed' => true, 401 402 ), 402 403 'var' => array(), 403 404 'video' => array( -
tests/phpunit/tests/kses.php
653 653 654 654 $this->assertEquals( $input, wp_kses( $input, $allowedposttags ) ); 655 655 } 656 657 /** 658 * @ticket 35079 659 */ 660 function test_ol_reversed() { 661 global $allowedposttags; 662 663 $input = '<ol reversed="reversed"><li>Item 1</li><li>Item 2</li><li>Item 3</li></ol>'; 664 665 $this->assertEquals( $input, wp_kses( $input, $allowedposttags ) ); 666 } 656 667 }