You appear to be a bot. Output may be restricted
Description
Usage
Tests_Media::test_new_img_caption_shortcode_with_html_caption();
Parameters
Returns
void
Source
File name: wordpress-develop-tests/phpunit/tests/media.php
Lines:
1 to 12 of 12
function test_new_img_caption_shortcode_with_html_caption() { $result = img_caption_shortcode( array( 'width' => 20, 'caption' => $this->html_content, ) ); $our_preg = preg_quote( $this->html_content ); $this->assertEquals( 1, preg_match_all( "~{$our_preg}~", $result, $_r ) ); }