Skip to:
Content

BuddyPress.org

Changeset 1687 for trunk/bp-core.php


Ignore:
Timestamp:
08/24/2009 08:25:50 PM (16 years ago)
Author:
apeatling
Message:

DB version updates, minor css fixes to default theme.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core.php

    r1655 r1687  
    22
    33/* Define the current version number for checking if DB tables are up to date. */
    4 define( 'BP_CORE_DB_VERSION', '1400' );
     4define( 'BP_CORE_DB_VERSION', '1700' );
    55
    66/* Define the path and url of the BuddyPress plugins directory */
     
    134134    $bp->bp_options_avatar = '';
    135135   
    136     /* Fetches the default Gravatar image to use if the user has no avatar or gravatar */
    137     $bp->grav_default = get_site_option( 'user-avatar-default' );
     136    /* Fetches the default Gravatar image to use if the user/group/blog has no avatar or gravatar */
     137    $bp->grav_default->user = apply_filters( 'bp_user_gravatar_default', get_site_option( 'user-avatar-default' ) );
     138    $bp->grav_default->group = apply_filters( 'bp_group_gravatar_default', 'identicon' );
     139    $bp->grav_default->blog = apply_filters( 'bp_blog_gravatar_default', 'identicon' );
    138140   
    139141    /* Fetch the full name for the logged in and current user */
Note: See TracChangeset for help on using the changeset viewer.