Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#23556 closed defect (bug) (duplicate)

wp_get_attachment_thumb_file() does not return the thumbnail path

Reported by: JoshuaAbenazer Owned by:
Priority: normal Milestone:
Component: Media Version:
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

wp_get_attachment_thumb_file() does not return the thumbnail path as the function searches for the key "thumb" in the array which is returned from wp_get_attachment_metadata(), which actually does not exist at all. It should rather be searching for the key "thumbnail"

Attachments (1)

post.diff​ (907 bytes ) - added by JoshuaAbenazer 14 years ago.
post.php

Download all attachments as: .zip

Change History (2)

@JoshuaAbenazer
14 years ago

post.php

#1 @SergeyBiryukov
14 years ago

  • Milestone Awaiting Review
  • Resolution → duplicate
  • Status new → closed

Duplicate of #17262.

Note: See TracTickets for help on using tickets.