Making WordPress.org

Changeset 9234


Ignore:
Timestamp:
10/24/2019 07:56:29 AM (6 years ago)
Author:
dd32
Message:

Plugin Directory: revert splitting <style> out of the icon, keep the id -> class change.

Missed from r9233.
Partially Reverts [9230].
See #4730.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin.php

    r9232 r9234  
    1616<article <?php post_class( 'plugin-card' ); ?>>
    1717    <div class="entry-thumbnail">
    18         <?php
    19             $icon_parts = Template::get_plugin_icon( get_post(), 'html-parts' );
    20             echo $icon_parts['style_tag'];
    21         ?>
    2218        <a href="<?php the_permalink(); ?>" rel="bookmark">
    23             <?php echo $icon_parts['icon_tag']; ?>
     19            <?php
     20            // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
     21            echo Template::get_plugin_icon( get_post(), 'html' );
     22            ?>
    2423        </a>
    2524    </div><div class="entry">
Note: See TracChangeset for help on using the changeset viewer.