#2098 closed defect (bug) (fixed)
Without $wp_query referencing $post in loop, default attachment.php breaks
| Reported by: | skeltoac | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | Administration | Version: | 2.0 |
| Severity: | normal | Keywords: | bg|has-patch |
| Cc: | Focuses: |
Description
The attachment.php in the default theme sets a classname depending on the width of the icon. It depended on $post being a reference to $post_cache[$id] but this patch gets around it.
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [3328]) Attachment template fix. fixes #2098