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 (7)
comment:2 follow-up: ↓ 4 jfarthing84 — 21 months ago
Note: See TracTickets for help on using tickets.