Changeset 5683 for trunk/bp-core/bp-core-avatars.php
- Timestamp:
- 02/09/2012 09:38:45 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-avatars.php
r5666 r5683 390 390 extract( $args, EXTR_SKIP ); 391 391 392 if ( !$item_id) {392 if ( empty( $item_id ) ) { 393 393 if ( 'user' == $object ) 394 394 $item_id = bp_displayed_user_id(); … … 403 403 } 404 404 405 if ( !$avatar_dir) {405 if ( empty( $avatar_dir ) ) { 406 406 if ( 'user' == $object ) 407 407 $avatar_dir = 'avatars'; … … 548 548 * crop_y - The vertical starting point of the crop 549 549 * 550 * @global object $bp BuddyPress global settings551 550 * @param mixed $args 552 551 * @return bool Success/failure 553 552 */ 554 553 function bp_core_avatar_handle_crop( $args = '' ) { 555 global $bp;556 554 557 555 $defaults = array(
Note: See TracChangeset
for help on using the changeset viewer.