Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/28/2024 10:08:00 PM (5 months ago)
Author:
imath
Message:

BP Nouveau: improve PHP code standards using WPCS

See #7228 (trunk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/admin/manage-members.php

    r13193 r13820  
    3131                <li class="member-entry clearfix">
    3232
    33                     <?php echo bp_core_fetch_avatar( array( 'item_id' => bp_get_member_user_id(), 'type' => 'thumb', 'width' => 30, 'height' => 30, 'alt' => '' ) ); ?>
     33                    <?php
     34                    // phpcs:ignore WordPress.Security.EscapeOutput
     35                    echo bp_core_fetch_avatar( array( 'item_id' => bp_get_member_user_id(), 'type' => 'thumb', 'width' => 30, 'height' => 30, 'alt' => '' ) );
     36                    ?>
    3437                    <p class="list-title member-name">
    3538                        <a href="<?php bp_member_permalink(); ?>"> <?php bp_member_name(); ?></a>
     
    6265                <li class="members-entry clearfix">
    6366
    64                     <?php echo bp_core_fetch_avatar( array( 'item_id' => bp_get_member_user_id(), 'type' => 'thumb', 'width' => 30, 'height' => 30, 'alt' => '' ) ); ?>
     67                    <?php
     68                    // phpcs:ignore WordPress.Security.EscapeOutput
     69                    echo bp_core_fetch_avatar( array( 'item_id' => bp_get_member_user_id(), 'type' => 'thumb', 'width' => 30, 'height' => 30, 'alt' => '' ) );
     70                    ?>
    6571                    <p class="list-title member-name">
    6672                        <a href="<?php bp_member_permalink(); ?>"> <?php bp_member_name(); ?></a>
Note: See TracChangeset for help on using the changeset viewer.