Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/05/2014 04:26:40 PM (10 years ago)
Author:
johnjamesjacoby
Message:

In bp_get_blog_avatar() bail if avatars are turned off, to be consistent with all other avatar output functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-blogs/bp-blogs-template.php

    r8759 r8760  
    486486        global $blogs_template;
    487487
     488        // Bail if avatars are turned off
     489        // @todo Should we maybe still filter this?
     490        if ( ! buddypress()->avatar->show_avatars ) {
     491            return false;
     492        }
     493
    488494        // Parse the arguments
    489495        $r = bp_parse_args( $args, array(
Note: See TracChangeset for help on using the changeset viewer.