Unnecessary post type check in wp_get_attachment_url
|Reported by:||jfarthing84||Owned by:|
Not sure why this needs to be done. You wouldn't be calling this function on a post if it wasn't an attachment. If you are, then you must have a good reason to be doing so, like I do.
Change History (10)
in reply to:
2 years ago
- Resolution set to wontfix
- Status changed from new to closed
Note: See TracTickets for help on using tickets.