Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/10/2023 04:01:49 AM (3 years ago)
Author:
imath
Message:

Raise WordPress required version to 5.8

Closes https://github.com/buddypress/buddypress/pull/61
Fixes #8822

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/core/functions.php

    r13370 r13417  
    785785     */
    786786    public function test_bp_attachments_get_allowed_types() {
    787         $supported = array( 'jpg', 'jpeg', 'jpe', 'gif', 'png' );
    788         if ( bp_is_running_wp( '5.8.0', '>=' ) ) {
    789             $supported[] = 'webp';
    790         }
     787        $supported = array( 'jpg', 'jpeg', 'jpe', 'gif', 'png', 'webp' );
    791788
    792789        $avatar = bp_attachments_get_allowed_types( 'avatar' );
Note: See TracChangeset for help on using the changeset viewer.