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.
Built from https://develop.svn.wordpress.org/branches/5.8@51506


git-svn-id: http://core.svn.wordpress.org/branches/5.8@51117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
desrosj 2021-07-28 12:55:56 +00:00
parent 839f0444e3
commit a1a9f6c5c6
2 changed files with 3 additions and 3 deletions

View File

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

View File

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