Opened 16 years ago
Closed 16 years ago
#14400 closed enhancement (invalid)
get_the_post_thumbnail() calling wp_get_attachment_image() with a non existant argument
| Reported by: | wjm | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Media | Version: | 3.0 |
| Severity: | trivial | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.