#28 closed defect (bug) (no action required)
One comparison expression issue in bp-xprofile-avatars.php
| Reported by: |
|
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)
Note: See
TracTickets for help on using
tickets.
This has changed and is now invalid.