Skip to:
Content

BuddyPress.org

Ticket #7645: patch.diff

File patch.diff, 549 bytes (added by xavierserranoa, 3 years ago)

patch with fix

  • wp-content/plugins/buddypress/bp-core/bp-core-avatars.php

    diff --git a/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php b/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php
    index 293c872..616eb9a 100644
    a b function bp_core_fetch_avatar( $args = '' ) { 
    658658                }
    659659
    660660                // Set up the Gravatar URL.
    661                 $gravatar = esc_url( add_query_arg(
     661                $gravatar = esc_url_raw( add_query_arg(
    662662                        rawurlencode_deep( array_filter( $url_args ) ),
    663663                        $gravatar
    664664                ) );