Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/03/2019 05:27:08 PM (6 years ago)
Author:
imath
Message:

More constistent escaping in Activity action strings

This commit is also fixing a regression introduced in version 4.3.0 about activity streams secondary avatars.

Fixes #8090 (trunk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-members/bp-members-activity.php

    r10825 r12393  
    4848function bp_members_format_activity_action_new_member( $action, $activity ) {
    4949    $userlink = bp_core_get_userlink( $activity->user_id );
    50     $action   = sprintf( __( '%s became a registered member', 'buddypress' ), $userlink );
     50    $action   = sprintf( esc_html__( '%s became a registered member', 'buddypress' ), $userlink );
    5151
    5252    // Legacy filter - pass $user_id instead of $activity.
Note: See TracChangeset for help on using the changeset viewer.