#2098 closed defect (bug) (fixed)
Without $wp_query referencing $post in loop, default attachment.php breaks
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | low | |
| Severity: | normal | Version: | 2.0 |
| Component: | Administration | Keywords: | bg|has-patch |
| Focuses: | Cc: |
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.
(In [3328]) Attachment template fix. fixes #2098