Skip to:
Content

BuddyPress.org

Changeset 12896


Ignore:
Timestamp:
04/19/2021 06:36:08 AM (5 months ago)
Author:
imath
Message:

Make sure the Activity Post Form uses the right default Gravatar

The Nouveau JavaScript template was wrongly escaping the Gravatar URL.

Props hz_i3

Fixes #8337

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/buddypress/common/js-templates/activity/form.php

    r12358 r12896  
    1919    <# if ( data.display_avatar ) { #>
    2020        <a href="{{data.user_domain}}">
    21             <img src="{{data.avatar_url}}" class="avatar user-{{data.user_id}}-avatar avatar-{{data.avatar_width}} photo" width="{{data.avatar_width}}" height="{{data.avatar_width}}" alt="{{data.avatar_alt}}" />
     21            <img src="{{{data.avatar_url}}}" class="avatar user-{{data.user_id}}-avatar avatar-{{data.avatar_width}} photo" width="{{data.avatar_width}}" height="{{data.avatar_width}}" alt="{{data.avatar_alt}}" />
    2222        </a>
    2323    <# } #>
Note: See TracChangeset for help on using the changeset viewer.