Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#47128 closed defect (bug) (fixed)

Twenty Nineteen: Remove duplicate height and width attribute from SVG icon

Reported by: mukesh27 Owned by: SergeyBiryukov
Priority: normal Milestone: 5.3
Component: Bundled Theme Version:
Severity: normal Keywords: has-patch good-first-bug
Cc: Focuses: coding-standards

Description

W3C shows duplicate height and width error in SVG icons.

W3C error:

Error: Duplicate attribute width.
Error: Duplicate attribute height.

Attachments (1)

47128.diff (1.2 KB ) - added by mukesh27 7 years ago.
Patch.

Download all attachments as: .zip

Change History (6)

@mukesh27
7 years ago

Patch.

#1 @mukesh27
7 years ago

#47455 was marked as a duplicate.

#2 @SergeyBiryukov
7 years ago

  • Milestone Awaiting Review5.3

#3 @SergeyBiryukov
7 years ago

  • Owner set to SergeyBiryukov
  • Status newreviewing

#4 @desrosj
7 years ago

#47455 was marked as a duplicate.

#5 @SergeyBiryukov
7 years ago

  • Resolutionfixed
  • Status reviewingclosed

In 45760:

Twenty Nineteen: Remove duplicate height and width attributes from SVG icons.

The attributes are added via TwentyNineteen_SVG_Icons::get_svg(), there's no need to have them separately in SVG sources.

Props mukesh27, albertomake.
Fixes #47128.

Note: See TracTickets for help on using tickets.