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-functions.php

    r12356 r12393  
    416416     * @param int    $user_id ID of the user to check.
    417417     */
    418     return apply_filters( 'bp_core_get_userlink', '<a href="' . $url . '">' . $display_name . '</a>', $user_id );
     418    return apply_filters( 'bp_core_get_userlink', '<a href="' . esc_url( $url ) . '">' . $display_name . '</a>', $user_id );
    419419}
    420420
Note: See TracChangeset for help on using the changeset viewer.