WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/13/2010 10:35:10 AM (12 years ago)
Author:
nacin
Message:

Don't use deprecated functions. see #11388

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/media.php

    r12986 r13106  
    11471147    global $redir_tab;
    11481148
    1149     if ( ( $attachment_id = intval( $attachment_id ) ) && $thumb_url = get_attachment_icon_src( $attachment_id ) )
     1149    if ( ( $attachment_id = intval( $attachment_id ) ) && $thumb_url = wp_get_attachment_image_src( $attachment_id ) )
    11501150        $thumb_url = $thumb_url[0];
    11511151    else
Note: See TracChangeset for help on using the changeset viewer.