Changeset 13316 for trunk/tests/phpunit/testcases/core/functions.php
- Timestamp:
- 08/13/2022 12:59:52 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/core/functions.php
r13315 r13316 785 785 */ 786 786 public function test_bp_attachments_get_allowed_types() { 787 $supported = array( 'jpg', 'jpeg', 'jpe', 'gif', 'png', 'webp' ); 787 $supported = array( 'jpg', 'jpeg', 'jpe', 'gif', 'png' ); 788 if ( bp_is_running_wp( '5.8.0', '>=' ) ) { 789 $supported[] = 'webp'; 790 } 788 791 789 792 $avatar = bp_attachments_get_allowed_types( 'avatar' );
Note: See TracChangeset
for help on using the changeset viewer.