Changeset 13597
- Timestamp:
- 10/17/2023 05:03:38 PM (12 months ago)
- Location:
- branches/11.0/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/11.0/src/bp-groups/bp-groups-blocks.php
r13296 r13597 206 206 if ( ! array_filter( $group_ids ) ) { 207 207 return ''; 208 } 209 210 // Make sure the avatar size exists. 211 if ( ! in_array( $block_args['avatarSize'], array( 'thumb', 'full' ), true ) ) { 212 $block_args['avatarSize'] = 'none'; 208 213 } 209 214 -
branches/11.0/src/bp-members/bp-members-blocks.php
r13296 r13597 197 197 if ( ! array_filter( $member_ids ) ) { 198 198 return ''; 199 } 200 201 // Make sure the avatar size exists. 202 if ( ! in_array( $block_args['avatarSize'], array( 'thumb', 'full' ), true ) ) { 203 $block_args['avatarSize'] = 'none'; 199 204 } 200 205
Note: See TracChangeset
for help on using the changeset viewer.