Ticket #14050: 14050.diff
File 14050.diff, 615 bytes (added by , 9 years ago) |
---|
-
tests/phpunit/tests/shortcode.php
308 308 } 309 309 310 310 /** 311 * @ticket 14050 312 */ 313 function test_multiple_shortcode_unautop() { 314 // a blank line is added at the end, so test with it already there 315 $test_string = "[footag]\n[footag]\n"; 316 $actual = shortcode_unautop( wpautop( $test_string ) ); 317 $this->assertEquals( $test_string, $actual ); 318 } 319 320 /** 311 321 * @ticket 10326 312 322 */ 313 323 function test_strip_shortcodes() {