Skip to:
Content

BuddyPress.org

Changeset 6882


Ignore:
Timestamp:
04/02/2013 05:34:55 PM (12 years ago)
Author:
boonebgorges
Message:

Whitespace cleanup in bp-core-avatars.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-avatars.php

    r6881 r6882  
    5555
    5656    // Dimensions
    57     $bp->avatar->thumb->width      = BP_AVATAR_THUMB_WIDTH;
    58     $bp->avatar->thumb->height     = BP_AVATAR_THUMB_HEIGHT;
    59     $bp->avatar->full->width       = BP_AVATAR_FULL_WIDTH;
    60     $bp->avatar->full->height     = BP_AVATAR_FULL_HEIGHT;
     57    $bp->avatar->thumb->width  = BP_AVATAR_THUMB_WIDTH;
     58    $bp->avatar->thumb->height = BP_AVATAR_THUMB_HEIGHT;
     59    $bp->avatar->full->width   = BP_AVATAR_FULL_WIDTH;
     60    $bp->avatar->full->height = BP_AVATAR_FULL_HEIGHT;
    6161
    6262    // Upload maximums
     
    6666    // Defaults
    6767    $bp->avatar->thumb->default = BP_AVATAR_DEFAULT_THUMB;
    68     $bp->avatar->full->default  = BP_AVATAR_DEFAULT;
     68    $bp->avatar->full->default  = BP_AVATAR_DEFAULT;
    6969
    7070    // These have to be set on page load in order to avoid infinite filter loops at runtime
    7171    $bp->avatar->upload_path = bp_core_avatar_upload_path();
    72     $bp->avatar->url        = bp_core_avatar_url();
     72    $bp->avatar->url = bp_core_avatar_url();
    7373
    7474    // Cache the root blog's show_avatars setting, to avoid unnecessary
     
    332332            if ( true === $html ) {
    333333                return apply_filters( 'bp_core_fetch_avatar', '<img src="' . $avatar_url . '" class="' . esc_attr( $class ) . '"' . $css_id . $html_width . $html_height . $html_alt . $title . ' />', $params, $item_id, $avatar_dir, $css_id, $html_width, $html_height, $avatar_folder_url, $avatar_folder_dir );
    334  
     334
    335335            // ...or only the URL
    336336            } else {
Note: See TracChangeset for help on using the changeset viewer.