Changeset 13497 for trunk/src/bp-core/bp-core-avatars.php
- Timestamp:
- 06/04/2023 05:48:51 AM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-avatars.php
r13468 r13497 18 18 function bp_core_set_avatar_constants() { 19 19 20 $bp = buddypress(); 21 22 if ( !defined( 'BP_AVATAR_THUMB_WIDTH' ) ) 20 if ( ! defined( 'BP_AVATAR_THUMB_WIDTH' ) ) { 23 21 define( 'BP_AVATAR_THUMB_WIDTH', 50 ); 24 25 if ( !defined( 'BP_AVATAR_THUMB_HEIGHT' ) ) 22 } 23 24 if ( ! defined( 'BP_AVATAR_THUMB_HEIGHT' ) ) { 26 25 define( 'BP_AVATAR_THUMB_HEIGHT', 50 ); 27 28 if ( !defined( 'BP_AVATAR_FULL_WIDTH' ) ) 26 } 27 28 if ( ! defined( 'BP_AVATAR_FULL_WIDTH' ) ) { 29 29 define( 'BP_AVATAR_FULL_WIDTH', 150 ); 30 31 if ( !defined( 'BP_AVATAR_FULL_HEIGHT' ) ) 30 } 31 32 if ( ! defined( 'BP_AVATAR_FULL_HEIGHT' ) ) { 32 33 define( 'BP_AVATAR_FULL_HEIGHT', 150 ); 33 34 if ( !defined( 'BP_AVATAR_ORIGINAL_MAX_WIDTH' ) ) 34 } 35 36 if ( ! defined( 'BP_AVATAR_ORIGINAL_MAX_WIDTH' ) ) { 35 37 define( 'BP_AVATAR_ORIGINAL_MAX_WIDTH', 450 ); 36 37 if ( !defined( 'BP_AVATAR_ORIGINAL_MAX_FILESIZE' ) ) { 38 } 39 40 if ( ! defined( 'BP_AVATAR_ORIGINAL_MAX_FILESIZE' ) ) { 38 41 define( 'BP_AVATAR_ORIGINAL_MAX_FILESIZE', bp_attachments_get_max_upload_file_size( 'avatar' ) ); 39 42 }
Note: See TracChangeset
for help on using the changeset viewer.