Make WordPress Core

Changeset 47493


Ignore:
Timestamp:
03/22/2020 06:35:46 PM (5 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

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

    r47219 r47493  
    699699                        <a href="<?php echo esc_url( $details_link ); ?>" class="thickbox open-plugin-details-modal">
    700700                        <?php echo $title; ?>
    701                         <img src="<?php echo esc_attr( $plugin_icon_url ); ?>" class="plugin-icon" alt="">
     701                        <img src="<?php echo esc_attr( $plugin_icon_url ); ?>" class="plugin-icon" alt="" />
    702702                        </a>
    703703                    </h3>
Note: See TracChangeset for help on using the changeset viewer.