Skip to:
Content

BuddyPress.org

Ticket #8678: 8678.patch

File 8678.patch, 650 bytes (added by imath, 4 years ago)
  • src/bp-groups/bp-groups-template.php

    diff --git src/bp-groups/bp-groups-template.php src/bp-groups/bp-groups-template.php
    index 15c70e865..77cf94eff 100644
    function bp_group_avatar_url( $group = false, $type = 'full' ) {  
    10371037         * @return string
    10381038         */
    10391039        function bp_get_group_avatar_url( $group = false, $type = 'full' ) {
    1040                 return bp_get_group_avatar( array( 'type' => $type ), $group );
     1040                return bp_get_group_avatar(
     1041                        array(
     1042                                'type' => $type,
     1043                                'html' => false
     1044                        ),
     1045                        $group
     1046                );
    10411047        }
    10421048
    10431049/** Group cover image *********************************************************/