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)
comment:2 follow-up: ↓ 4 @jfarthing84 — 3 years ago
comment:8 in reply to: ↑ 4 @ericlewis — 12 months ago
- Resolution set to wontfix
- Status changed from new to closed
Note: See TracTickets for help on using tickets.