General: Use correct escaping function for the plugin icon URL.

Props chintan1896, audrasjb.
Fixes #53151.
Built from https://develop.svn.wordpress.org/trunk@50808


git-svn-id: http://core.svn.wordpress.org/trunk@50417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
desrosj 2021-05-04 13:38:58 +00:00
parent ef28363c7b
commit 5ced9a5afe
2 changed files with 2 additions and 2 deletions

View File

@ -709,7 +709,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_url( $plugin_icon_url ); ?>" class="plugin-icon" alt="" />
</a>
</h3>
</div>

View File

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