WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#26208 closed defect (bug) (fixed)

Twenty Fourteen: in image navigation appears border line when there is no previous or next image

Reported by: jartes Owned by: lancewillett
Milestone: 3.8 Priority: normal
Severity: normal Version: 3.8
Component: Bundled Theme Keywords: has-patch commit
Focuses: Cc:

Description

If we are on an image (inside a gallery) and there is no next or previous image a gray border line appears. The same occurs when there is only one image in a gallery.

Attachments (3)

Image Navigation border line.jpg (197.1 KB) - added by jartes 7 years ago.
26208.diff (889 bytes) - added by jartes 7 years ago.
26208.2.diff (919 bytes) - added by MikeHansenMe 7 years ago.

Download all attachments as: .zip

Change History (7)

@jartes
7 years ago

#1 @dimadin
7 years ago

This patch reverts [26227]. It's better not to have HTML in translations but in this case that's the price of weak core functions.

@MikeHansenMe
7 years ago

#2 @MikeHansenMe
7 years ago

  • Cc mdhansen@… added
  • Keywords has-patch added

#3 @obenland
7 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 3.8
  • Version set to trunk

#4 @lancewillett
7 years ago

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

In 26586:

Twenty Fourteen: avoid empty markup when no next or previous image in image template. Props MikeHansenMe and jartes, fixes #26208.

Note: See TracTickets for help on using tickets.