Changeset 28548
- Timestamp:
- 05/22/2014 07:07:30 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/deprecated.php
r28021 r28548 1917 1917 1918 1918 $src_file = basename($src); 1919 $class = 'attachmentthumb';1920 1919 } elseif ( wp_attachment_is_image( $post->ID ) ) { 1921 1920 // We have an image without a thumbnail … … 1923 1922 $src = wp_get_attachment_url( $post->ID ); 1924 1923 $src_file = & $file; 1925 $class = 'attachmentimage';1926 1924 } elseif ( $src = wp_mime_type_icon( $post->ID ) ) { 1927 1925 // No thumb, no image. We'll look for a mime-related icon instead.
Note: See TracChangeset
for help on using the changeset viewer.