Changeset 55822 for trunk/tests/phpunit/tests/media.php
- Timestamp:
- 05/17/2023 10:44:21 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/media.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/media.php
r55821 r55822 2349 2349 add_filter( 2350 2350 'wp_content_img_tag', 2351 function( $filtered_image ) {2351 static function( $filtered_image ) { 2352 2352 return "<span>$filtered_image</span>"; 2353 2353 } … … 2373 2373 add_filter( 2374 2374 'wp_content_img_tag', 2375 function( $filtered_image ) {2375 static function( $filtered_image ) { 2376 2376 return "<span>$filtered_image</span>"; 2377 2377 } … … 3762 3762 add_filter( 3763 3763 'wp_get_attachment_image_attributes', 3764 function( $attr ) {3764 static function( $attr ) { 3765 3765 unset( $attr['srcset'], $attr['sizes'], $attr['decoding'] ); 3766 3766 return $attr;
Note: See TracChangeset
for help on using the changeset viewer.