Make WordPress Core

Ticket #56817: 56817.diff

File 56817.diff, 994 bytes (added by desrosj, 20 months ago)
  • .env

    diff --git a/.env b/.env
    index 63a8169f64..6aa4640c26 100644
    a b LOCAL_PORT=8889 
    1515LOCAL_DIR=src
    1616
    1717# The PHP version to use. Valid options are 'latest', and '{version}-fpm'.
    18 LOCAL_PHP=latest
     18LOCAL_PHP=8.2-fpm
    1919
    2020# Whether or not to enable Xdebug.
    2121LOCAL_PHP_XDEBUG=false
  • tests/phpunit/tests/functions.php

    diff --git a/tests/phpunit/tests/functions.php b/tests/phpunit/tests/functions.php
    index 14d2a26315..af08d96319 100644
    a b class Tests_Functions extends WP_UnitTestCase { 
    14201420
    14211421                $expected = array(
    14221422                        'ext'             => 'woff',
    1423                         'type'            => 'application/font-woff',
     1423                        'type'            => 'font/woff',
    14241424                        'proper_filename' => false,
    14251425                );
    14261426
    class Tests_Functions extends WP_UnitTestCase { 
    14371437        }
    14381438
    14391439        public function filter_mime_types_woff( $mimes ) {
    1440                 $mimes['woff'] = 'application/font-woff';
     1440                $mimes['woff'] = 'font/woff';
    14411441                return $mimes;
    14421442        }
    14431443