Make WordPress Core


Ignore:
Timestamp:
07/28/2021 12:54:54 PM (3 years ago)
Author:
desrosj
Message:

Help/About: Add / character to <img> and <source> 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], [51418].

Props radixweb, ankitmaru, TobiasBg, sabernhardt, audrasjb, SergeyBiryukov.
Merges [51473] to the 5.8 branch.
Fixes #53716.

Location:
branches/5.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.8

  • branches/5.8/src/wp-admin/about.php

    r51420 r51506  
    161161            <div class="column about__image is-vertically-aligned-center">
    162162                <picture>
    163                     <source srcset="https://s.w.org/images/core/5.8/about-theme-json.png, https://s.w.org/images/core/5.8/about-theme-json-2x.png 2x">
    164                     <img src="https://s.w.org/images/core/5.8/about-theme-json.png" alt="">
     163                    <source srcset="https://s.w.org/images/core/5.8/about-theme-json.png, https://s.w.org/images/core/5.8/about-theme-json-2x.png 2x" />
     164                    <img src="https://s.w.org/images/core/5.8/about-theme-json.png" alt="" />
    165165                </picture>
    166166            </div>
Note: See TracChangeset for help on using the changeset viewer.