Ticket #3500: patch-01.diff
File patch-01.diff, 788 bytes (added by , 13 years ago) |
---|
-
bp-activity/bp-activity-template.php
#P BUDDYPRESS TRUNK SVN
577 577 extract( $r, EXTR_SKIP ); 578 578 579 579 if ( !isset( $height ) && !isset( $width ) ) { // Backpat 580 if ( 'full' == $type || ( 'thumb' == $type && bp_is_single_activity() ) ) {580 if ( 'full' == $type || ( 'thumb' == $type && bp_is_single_activity() && is_numeric( bp_current_action() ) ) ) { 581 581 $height = $bp->avatar->full->height; 582 582 $width = $bp->avatar->full->width; 583 583 $type = 'full'; 584 584 } elseif ( 'thumb' == $type ) { 585 585 $height = $bp->avatar->thumb->height; 586 586 $width = $bp->avatar->thumb->width;