Make WordPress Core

Changeset 51473


Ignore:
Timestamp:
07/22/2021 12:57:48 PM (4 years ago)
Author:
SergeyBiryukov
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.
Fixes #53716.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/about.php

    r51418 r51473  
    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.