Make WordPress Core

Opened 18 years ago

Closed 18 years ago

#7830 closed defect (bug) (invalid)

Attachment.php and Image.php aren't working in several themes

Reported by: langsuyar Owned by:
Priority: normal Milestone:
Component: Template Version: 2.6.1
Severity: normal Keywords: attachment.php image.php template
Cc: Focuses:

Description

I made a copy of index.php, renamed it to attachment.php. The template is used correctly when clicking on a gallery entry - but it doesn't display the image in the attachment! Weird.

The code is identical to index.php (which works), and both do a standard the_content() call. When comparing the HTML that index.php and the (theoretically identical) attachment.php generate, the latter one doesn't contain any references to my image.

Broken in Revolution Business Pro Theme, but I've gotten it to break in other themes as well (Vanilla Mist, for example). Kubrik works, on the other hand!

Please see http://wordpress.org/support/topic/200462 for full thread on the problem.

Change History (1)

#1 @mrmist
18 years ago

  • Milestone 2.8
  • Resolutioninvalid
  • Severity majornormal
  • Status newclosed

Closing this as invalid. A solution to the issue was posted in the linked forum thread. Re-open with steps to reproduce if this remains a current 2.7 issue.

Note: See TracTickets for help on using tickets.