Changeset 53465 for trunk/tests/phpunit/tests/media.php
- Timestamp:
- 06/04/2022 06:03:56 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/media.php
r53464 r53465 1830 1830 */ 1831 1831 public function test_wp_calculate_image_srcset_no_width() { 1832 $file = get_attached_file( self::$large_id );1833 1832 $image_url = wp_get_attachment_image_url( self::$large_id, 'medium' ); 1834 $image_meta = wp_ge nerate_attachment_metadata( self::$large_id, $file);1833 $image_meta = wp_get_attachment_metadata( self::$large_id ); 1835 1834 1836 1835 $size_array = array( 0, 0 );
Note: See TracChangeset
for help on using the changeset viewer.