#17579 closed defect (bug) (fixed)
Checking post_type in wp_get_attachment_url is later than it should be
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 3.3 | Priority: | normal |
| Severity: | trivial | Version: | |
| Component: | Performance | Keywords: | has-patch commit |
| Focuses: | 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)
Note: See
TracTickets for help on using
tickets.
[19231]