Skip to:
Content

BuddyPress.org

Opened 12 years ago

Closed 11 years ago

Last modified 4 years ago

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

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

Reported by: 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
11 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.


4 years ago

Note: See TracTickets for help on using tickets.