Make WordPress Core

Opened 21 years ago

Closed 21 years ago

Last modified 20 years ago

#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)

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

Download all attachments as: .zip

Change History (4)

#1 @davidhouse
21 years ago

  • Keywords bg|has-patch added

#2 @ryan
21 years ago

  • Resolution → fixed
  • Status new → closed

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

#3 @(none)
20 years ago

  • Milestone 2.0

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.