Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#8207 closed defect (bug) (fixed)

wp_get_attachment_image_src() runs getimagesize on URL instead of local path

Reported by: dd32's profile DD32 Owned by:
Milestone: 2.7 Priority: normal
Severity: normal Version:
Component: UI Keywords: has-patch
Focuses: Cc:

Description

wp_get_attachment_image_src() runs getimagesize on http:/....../wp-includes/.../image.png instead of on ABSPATH . WPINC . .....

The cause appears to be the Icon URI code was used instead of the Icon Dir code. See patch

Attachments (1)

8207.diff (553 bytes) - added by DD32 16 years ago.

Download all attachments as: .zip

Change History (2)

@DD32
16 years ago

#1 @ryan
16 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [9688]) Use dir not url. Props DD32. fixes #8207

Note: See TracTickets for help on using tickets.