Plugin Directory

Changeset 2847687

Timestamp:
01/13/2023 03:22:03 AM (19 months ago)
Author:
iamjafran
Message:

Updated sanitization on recommended plugins template

Location:
wp-dark-mode
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-dark-mode/tags/4.0.2/templates/admin/recommended-plugins.php

    r2847187 r2847687  
    305305                $last_updated_timestamp = strtotime( $single_plugin['last_updated'] );
    306306                ?>
    307                 <div class="plugin-card plugin-card-<?php echo sanitize_html_class( $single_plugin['slug'] ); ?>">
     307                <div class="plugin-card plugin-card-<?php echo ( $single_plugin['slug'] ); ?>">
    308308                    <?php
    309309                    if ( ! $compatible_php || ! $compatible_wp ) {
  • wp-dark-mode/trunk/templates/admin/recommended-plugins.php

    r2844274 r2847687  
    305305                $last_updated_timestamp = strtotime( $single_plugin['last_updated'] );
    306306                ?>
    307                 <div class="plugin-card plugin-card-<?php echo sanitize_html_class( $single_plugin['slug'] ); ?>">
     307                <div class="plugin-card plugin-card-<?php echo ( $single_plugin['slug'] ); ?>">
    308308                    <?php
    309309                    if ( ! $compatible_php || ! $compatible_wp ) {
Note: See TracChangeset for help on using the changeset viewer.