Make WordPress Core

Opened 7 years ago

Closed 7 years ago

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


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 7 years ago.

Download all attachments as: .zip

Change History (2)

7 years ago

#1 @lancewillett
7 years 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.