#17579 closed defect (bug) (fixed)
Checking post_type in wp_get_attachment_url is later than it should be
| Reported by: | mitchoyoshitaka | Owned by: | mitchoyoshitaka |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.3 |
| Component: | Performance | Version: | |
| Severity: | trivial | Keywords: | has-patch commit |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
[19231]