Skip to:
Content

BuddyPress.org

Ticket #8328: 8328.patch

File 8328.patch, 531 bytes (added by imath, 4 years ago)
  • tests/phpunit/testcases/core/functions.php

    diff --git tests/phpunit/testcases/core/functions.php tests/phpunit/testcases/core/functions.php
    index f3c20c1d8..92a1b5465 100644
    class BP_Tests_Core_Functions extends BP_UnitTestCase { 
    793793                $images = bp_attachments_get_allowed_types( 'image/' );
    794794
    795795                foreach ( $images as $image ) {
     796                        if ( 'heic' === $image ) {
     797                                continue;
     798                        }
     799
    796800                        if ( 'image' !== wp_ext2type( $image ) ) {
    797801                                $not_image = $image;
    798802                        }