Ticket #2098 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

Without $wp_query referencing $post in loop, default attachment.php breaks

Reported by: skeltoac Assigned to: anonymous
Priority: low Milestone:
Component: Administration Version: 2.0
Severity: normal Keywords: bg|has-patch
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

attachments.diff (1.5 kB) - added by skeltoac on 12/19/05 16:37:17.

Change History

12/19/05 16:37:17 changed by skeltoac

  • attachment attachments.diff added.

12/19/05 16:59:21 changed by davidhouse

  • keywords set to bg|has-patch.

12/19/05 19:08:31 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [3328]) Attachment template fix. fixes #2098

11/30/06 19:41:47 changed by

  • milestone deleted.

Milestone 2.0 deleted