Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#51077 closed defect (bug) (fixed)

In the img tag, the alt and closed are missing

Reported by: Laxman Prajapati Owned by: SergeyBiryukov
Priority: normal Milestone: 5.6
Component: Customize Version: 5.6
Severity: normal Keywords: has-patch
Cc: Focuses: coding-standards

Description

As a standard workflow of HTML in the img tag the "alt" and closed is required so we have added.

Attachments (1)

51077.patch​ (2.4 KB ) - added by Laxman Prajapati 6 years ago.
Created patch.

Download all attachments as: .zip

Change History (4)

#1 @Laxman Prajapati
6 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
6 years ago

  • Component General → Customize
  • Milestone Awaiting Review → 5.6
  • Owner set to SergeyBiryukov
  • Status new → reviewing

Hi there, welcome back to WordPress Trac!

Thanks for the patch. Just noting that SimplePie is an external library, any suggested changes to its files should be submitted upstream: ​https://github.com/simplepie/simplepie.

#3 @SergeyBiryukov
6 years ago

  • Resolution → fixed
  • Status reviewing → closed

In 48834:

Customize: Add / character to <img> tag in WP_Customize_Manager and WP_Customize_Header_Image_Control JS templates.

While this has no effect on void elements in HTML5, it fixes a minor inconsistency with the rest of core.

Props laxman-prajapati.
Fixes #51077.

Note: See TracTickets for help on using tickets.