Changeset 27813
- Timestamp:
- 03/28/2014 12:49:48 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r27800 r27813 2326 2326 list( $src, $width, $height ) = wp_get_attachment_image_src( $id, 'thumbnail' ); 2327 2327 $response['thumb'] = compact( 'src', 'width', 'height' ); 2328 } else { 2329 $src = wp_mime_type_icon( $attachment->ID ); 2330 $width = 48; 2331 $height = 64; 2332 $response['image'] = compact( 'src', 'width', 'height' ); 2333 $response['thumb'] = compact( 'src', 'width', 'height' ); 2328 2334 } 2329 2335 }
Note: See TracChangeset
for help on using the changeset viewer.