[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:23:33 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:  closed
 Priority:  normal       |   Milestone:  5.9
Component:  General      |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:  administration, template, coding-
  needs-testing          |  standards
-------------------------+-------------------------------------------------
Changes (by SergeyBiryukov):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"51542" 51542]:
 {{{
 #!CommitTicketReference repository="" revision="51542"
 Media: Add `/` character to `<img>` tag in `wp_print_media_templates()`.

 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], [51541].

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

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


More information about the wp-trac mailing list