Administration: Add / character to <img> tag in WP_Plugin_Install_List_Table::display_rows().

While this has no effect on void elements in HTML5, it fixes a minor inconsistency with the rest of core.

Props adnan.limdi, Soean.
Fixes #41904.

git-svn-id: https://develop.svn.wordpress.org/trunk@47493 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-03-22 18:35:46 +00:00
parent f44d456a4b
commit 630ba8979a

View File

@ -698,7 +698,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
<h3>
<a href="<?php echo esc_url( $details_link ); ?>" class="thickbox open-plugin-details-modal">
<?php echo $title; ?>
<img src="<?php echo esc_attr( $plugin_icon_url ); ?>" class="plugin-icon" alt="">
<img src="<?php echo esc_attr( $plugin_icon_url ); ?>" class="plugin-icon" alt="" />
</a>
</h3>
</div>