Make WordPress Core

Changeset 28548


Ignore:
Timestamp:
05/22/2014 07:07:30 PM (11 years ago)
Author:
wonderboymusic
Message:

In get_attachment_icon_src(), $class is set in 2 conditions but never used.

See #27882.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/deprecated.php

    r28021 r28548  
    19171917
    19181918        $src_file = basename($src);
    1919         $class = 'attachmentthumb';
    19201919    } elseif ( wp_attachment_is_image( $post->ID ) ) {
    19211920        // We have an image without a thumbnail
     
    19231922        $src = wp_get_attachment_url( $post->ID );
    19241923        $src_file = & $file;
    1925         $class = 'attachmentimage';
    19261924    } elseif ( $src = wp_mime_type_icon( $post->ID ) ) {
    19271925        // No thumb, no image. We'll look for a mime-related icon instead.
Note: See TracChangeset for help on using the changeset viewer.