Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/27/2024 01:40:03 AM (2 years ago)
Author:
imath
Message:

Messages component: improve PHP code standards using WPCS

See #7228 (trunk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-messages/bp-messages-star.php

    r13743 r13810  
    6363 */
    6464function bp_the_message_star_action_link( $args = array() ) {
     65    // phpcs:ignore WordPress.Security.EscapeOutput
    6566    echo bp_get_the_message_star_action_link( $args );
    6667}
     
    330331?>
    331332
    332     <option value="star"><?php _e( 'Add star', 'buddypress' ); ?></option>
    333     <option value="unstar"><?php _e( 'Remove star', 'buddypress' ); ?></option>
     333    <option value="star"><?php esc_html_e( 'Add star', 'buddypress' ); ?></option>
     334    <option value="unstar"><?php esc_html_e( 'Remove star', 'buddypress' ); ?></option>
    334335
    335336<?php
Note: See TracChangeset for help on using the changeset viewer.