[wp-trac] [WordPress Trac] #53870: Add missing "/" at the end of image tag in themes and wp-include files.

WordPress Trac noreply at wordpress.org
Wed Aug 4 14:22:52 UTC 2021


#53870: Add missing "/" at the end of image tag in themes and wp-include files.
-------------------------+-------------------------------------------------
 Reporter:  Shital       |       Owner:  Shital Patel
  Patel                  |
     Type:  enhancement  |      Status:  accepted
 Priority:  normal       |   Milestone:  5.9
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  administration, template, coding-
  needs-testing          |  standards
-------------------------+-------------------------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"51541" 51541]:
 {{{
 #!CommitTicketReference repository="" revision="51541"
 Bundled Themes: Add `/` character to `<img>` tags.

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

 Follow-up to [47493], [48834], [50556], [51473].

 Props shital-patel, akabarikalpesh.
 See #53870.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53870#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list