WordPress.org

Make WordPress Core

#24479 closed enhancement (fixed)

Twenty Thirteen: Clean up image attachment template

Reported by: obenland Owned by: lancewillett
Milestone: 3.6 Priority: normal
Severity: normal Version: 3.6
Component: Bundled Theme Keywords: has-patch
Focuses: Cc:

Description

Let's clean up image.php. We could pull out the logic for determining the image link into a custom template tag and make the template more concise.

Attachments (1)

24479.patch (5.5 KB) - added by obenland 11 months ago.

Download all attachments as: .zip

Change History (2)

obenland11 months ago

comment:1 lancewillett11 months ago

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

In 24402:

Twenty Thirteen: Clean up image attachment template and move logic to twentythirteen_the_attached_image() function. Props obenland, fixes #24479.

Note: See TracTickets for help on using tickets.