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.
Built from https://develop.svn.wordpress.org/trunk@51473


git-svn-id: http://core.svn.wordpress.org/trunk@51084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-07-22 12:58:58 +00:00
parent c7ff035183
commit 2871ef401b
2 changed files with 3 additions and 3 deletions

View File

@ -160,8 +160,8 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
</h2> </h2>
<div class="column about__image is-vertically-aligned-center"> <div class="column about__image is-vertically-aligned-center">
<picture> <picture>
<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"> <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" />
<img src="https://s.w.org/images/core/5.8/about-theme-json.png" alt=""> <img src="https://s.w.org/images/core/5.8/about-theme-json.png" alt="" />
</picture> </picture>
</div> </div>
</div> </div>

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.9-alpha-51472'; $wp_version = '5.9-alpha-51473';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.