Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#25541 closed defect (bug) (fixed)

Twenty Fourteen: Stop relying on .single-attachment body class to style elements

Reported by: iamtakashi's profile iamtakashi Owned by: lancewillett's profile lancewillett
Milestone: 3.8 Priority: normal
Severity: normal Version: 3.8
Component: Bundled Theme Keywords: has-patch
Focuses: Cc:

Description

Related: #25506

Basically the .single-attachment body class only gets applied when the attachment’s parent is not a page so we can't rely on the class to style some attachment page specific styles.

Attachments (1)

25541.diff (1.0 KB) - added by iamtakashi 10 years ago.

Download all attachments as: .zip

Change History (4)

@iamtakashi
10 years ago

#1 @iamtakashi
10 years ago

  • Keywords has-patch added

#2 @lancewillett
10 years ago

  • Milestone changed from Awaiting Review to 3.8

#3 @lancewillett
10 years ago

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

In 25737:

Twenty Fourteen: remove unneeded .single-attachment body class selectors, props iamtakashi. Fixes #25541, see #25506.

Note: See TracTickets for help on using tickets.