Make WordPress Core

#51077 closed defect (bug) (fixed)

In the img tag, the alt and closed are missing

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


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 13 months ago.
Created patch.

Download all attachments as: .zip

Change History (4)

@Laxman Prajapati
13 months ago

Created patch.

#1 @Laxman Prajapati
13 months ago

  • Keywords has-patch added

#2 @SergeyBiryukov
13 months ago

  • Component changed from General to Customize
  • Milestone changed from Awaiting Review to 5.6
  • Owner set to SergeyBiryukov
  • Status changed from new to 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
13 months ago

  • Resolution set to fixed
  • Status changed from reviewing to 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.