Skip to:
Content

BuddyPress.org

Opened 18 years ago

Closed 18 years ago

Last modified 10 years ago

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

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

Reported by: italways Owned by:
Priority: minor Milestone:
Component: Version:
Severity: 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
18 years ago

  • Resolutioninvalid
  • Status newclosed

This has changed and is now invalid.

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


10 years ago

Note: See TracTickets for help on using tickets.