Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/12/2010 12:31:49 PM (15 years ago)
Author:
apeatling
Message:

Fixing the use of deprecated template tags in bp-default. Merged the fetching of BP runtime settings into one query to significantly reduce the number of run time database hits. Fixed #1916

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/members/single/profile/change-avatar.php

    r2558 r2695  
    33<?php do_action( 'bp_before_profile_avatar_upload_content' ) ?>
    44
    5 <?php if ( !(int)get_site_option( 'bp-disable-avatar-uploads' ) ) : ?>
     5<?php if ( !(int)bp_get_option( 'bp-disable-avatar-uploads' ) ) : ?>
    66
    77    <p><?php _e( 'Your avatar will be used on your profile and throughout the site. If there is a <a href="http://gravatar.com">Gravatar</a> associated with your account email we will use that, or you can upload an image from your computer.', 'buddypress') ?></p>
Note: See TracChangeset for help on using the changeset viewer.