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