WordPress.org

Make WordPress Core

Changeset 50808


Ignore:
Timestamp:
05/04/2021 01:37:50 PM (7 months ago)
Author:
desrosj
Message:

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

Props chintan1896, audrasjb.
Fixes #53151.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php

    r50505 r50808  
    710710                        <a href="<?php echo esc_url( $details_link ); ?>" class="thickbox open-plugin-details-modal">
    711711                        <?php echo $title; ?>
    712                         <img src="<?php echo esc_attr( $plugin_icon_url ); ?>" class="plugin-icon" alt="" />
     712                        <img src="<?php echo esc_url( $plugin_icon_url ); ?>" class="plugin-icon" alt="" />
    713713                        </a>
    714714                    </h3>
Note: See TracChangeset for help on using the changeset viewer.