Make WordPress Core

Opened 5 months ago

Closed 4 months ago

#61085 closed defect (bug) (fixed)

Remove empty CSS from wp-embed-template.css

Reported by: sabernhardt's profile sabernhardt Owned by: swissspidy's profile swissspidy
Milestone: 6.6 Priority: normal
Severity: minor Version: 4.4
Component: Embeds Keywords: has-patch
Focuses: css, coding-standards Cc:

Description

splitting this out from #59493

@ravipatel created PR 5643 to remove an empty ruleset from wp-embed-template.css.

The file has (at least) two possible changes to make:

  • Remove empty ruleset for html[dir="rtl"] .wp-embed-footer
  • Remove empty line within html[dir="rtl"] .wp-embed-featured-image.square

[34903] added these embed styles.

Attachments (1)

61085.diff (542 bytes) - added by sabernhardt 5 months ago.

Download all attachments as: .zip

Change History (3)

@sabernhardt
5 months ago

#1 @swissspidy
5 months ago

  • Owner set to swissspidy
  • Status changed from new to reviewing

#2 @swissspidy
4 months ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 58063:

Embeds: Remove empty CSS blocks from wp-embed-template.css.

Originally added in [34903], these empty CSS blocks serve no purpose.

Props ravipatel, sabernhardt.
Fixes #61085.

Note: See TracTickets for help on using tickets.