Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/03/2019 05:24:02 PM (5 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.

See #8090 (Branch 4.0)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/4.0/src/bp-groups/bp-groups-functions.php

    r12180 r12392  
    13131313
    13141314    // Record this in activity streams.
    1315     $activity_action  = sprintf( __( '%1$s posted an update in the group %2$s', 'buddypress'), bp_core_get_userlink( $user_id ), '<a href="' . bp_get_group_permalink( $bp->groups->current_group ) . '">' . esc_attr( $bp->groups->current_group->name ) . '</a>' );
     1315    $activity_action  = sprintf( esc_html__( '%1$s posted an update in the group %2$s', 'buddypress'), bp_core_get_userlink( $user_id ), '<a href="' . esc_url( bp_get_group_permalink( $bp->groups->current_group ) ) . '">' . esc_html( $bp->groups->current_group->name ) . '</a>' );
    13161316    $activity_content = $content;
    13171317
Note: See TracChangeset for help on using the changeset viewer.