Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#51077 closed defect (bug) (fixed)

In the img tag, the alt and closed are missing

Reported by: laxman-prajapati's profile Laxman Prajapati Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 5.6 Priority: normal
Severity: normal Version: 5.6
Component: Customize Keywords: has-patch
Focuses: coding-standards Cc:

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 4 years ago.
Created patch.

Download all attachments as: .zip

Change History (4)

@Laxman Prajapati
4 years ago

Created patch.

#1 @Laxman Prajapati
4 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
4 years 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
4 years 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.