Skip to:
Content

BuddyPress.org

Opened 17 years ago

Closed 16 years ago

Last modified 9 years ago

#28 closed defect (bug) (no action required)

One comparison expression issue in bp-xprofile-avatars.php

Reported by: italways's profile italways Owned by:
Milestone: Priority: minor
Severity: Version:
Component: Keywords:
Cc:

Description

actually, it can not handel the exact 450*450 picture, so please change Line 131:

if ( $size[0] < XPROFILE_AVATAR_V2_W
$size[1] < XPROFILE_CROPPING_CANVAS_MAX ) {


to

if ( $size[0] < XPROFILE_AVATAR_V2_W
$size[1] <= XPROFILE_CROPPING_CANVAS_MAX ) {


and the prompt info in Line 132 need be changed accordingly.

Change History (2)

#1 @apeatling
16 years ago

  • Resolution set to invalid
  • Status changed from new to closed

This has changed and is now invalid.

This ticket was mentioned in Slack in #buddypress by boone. View the logs.


9 years ago

Note: See TracTickets for help on using tickets.