Make WordPress Core

Opened 20 years ago

Closed 20 years ago

Last modified 19 years ago

#2098 closed defect (bug) (fixed)

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

Reported by: skeltoac's profile skeltoac 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)

attachments.diff (1.5 KB) - added by skeltoac 20 years ago.

Download all attachments as: .zip

Change History (4)

#1 @davidhouse
20 years ago

  • Keywords bg|has-patch added

#2 @ryan
20 years ago

  • Resolution set to fixed
  • Status changed from new to closed

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

#3 @(none)
19 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.