Opened 15 years ago
Closed 14 years ago
#14400 closed enhancement (invalid)
get_the_post_thumbnail() calling wp_get_attachment_image() with a non existant argument
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | trivial | Version: | 3.0 |
Component: | Media | Keywords: | has-patch |
Focuses: | Cc: |
Description
get_the_post_thumbnail() calls wp_get_attachment_image() with a 4th non-existant $attr argument.
I am not sure whethere $attr should be removed from get_the_post_thumbnail() as it is only used in the return filter (maybe if we remove it we will loose backward compatibility)
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
I don't see how this is a non-existent argument. It's a pass-through: It goes straight to wp_get_attachment_image(), which then leverages it.