Changeset 53028 for trunk/tests/phpunit/tests/media.php
- Timestamp:
- 03/29/2022 11:56:18 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/media.php
r52190 r53028 2295 2295 2296 2296 /** 2297 * @ticket 55347 2298 */ 2299 public function test_wp_filter_content_tags_has_filter() { 2300 $filter = new MockAction(); 2301 add_filter( 'wp_content_img_tag', array( &$filter, 'filter' ) ); 2302 $img_tag_1 = get_image_tag( self::$large_id, '', '', '', 'medium' ); 2303 2304 wp_filter_content_tags( $img_tag_1 ); 2305 $this->assertSame( 1, $filter->get_call_count() ); 2306 } 2307 /** 2297 2308 * @ticket 33641 2298 2309 * @ticket 34528
Note: See TracChangeset
for help on using the changeset viewer.