#17579 closed defect (bug) (fixed)
Checking post_type in wp_get_attachment_url is later than it should be
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.3 |
| Component: | Performance | Version: | |
| Severity: | trivial | Keywords: | has-patch commit |
| Cc: |
Description
Once we get the $post, we can immediately check the post_type and return false if it's not an attachment.
Attachments (1)
Change History (5)
mitchoyoshitaka — 2 years ago
comment:1
SergeyBiryukov — 21 months ago
- Milestone changed from Awaiting Review to 3.3
comment:3
SergeyBiryukov — 19 months ago
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

[19231]