Post Formats: get_the_post_format_image doesn't return the requested size
|Reported by:||kovshenin||Owned by:||markjaquith|
The new get_the_post_format_image function accepts an $attached_size argument, but the value is ignored for the following cases:
- Image meta has a caption shortcode and image HTML
- Image meta is an image URL
- Image meta is an image HTML string
- Image meta is empty, but content contains image HTML
The only way this seems to work as expected is when the get_attached_images-way and when the meta is numeric.
Change History (5)
Note: See TracTickets for help on using tickets.