Make WordPress Core


Ignore:
Timestamp:
09/19/2022 10:51:53 PM (18 months ago)
Author:
davidbaumwald
Message:

Media: Revert WebP generation.

Given Matt's recent post about removing WebP from core and possibly implementing the feature in a future Canonical Plugin, this change reverts changesets [54086], [54094], and [54097]. Additionally, [54210] contained a coding standards follow-up in one of the affected files that is no longer needed.

Reverts [54086], [54094], and [54097].

Props SergeyBiryukov.
See #55443.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/image/intermediateSize.php

    r54086 r54226  
    66 */
    77class Tests_Image_Intermediate_Size extends WP_UnitTestCase {
    8     /**
    9      * Set up the test fixture.
    10      */
    11     public function set_up() {
    12         add_filter( 'image_editor_output_format', '__return_empty_array' );
    13 
    14         parent::set_up();
    15     }
    16 
    178    public function tear_down() {
    189        $this->remove_added_uploads();
     
    2213        remove_image_size( 'false-width' );
    2314        remove_image_size( 'off-by-one' );
    24 
    25         remove_filter( 'image_editor_output_format', '__return_empty_array' );
    26 
    2715        parent::tear_down();
    2816    }
Note: See TracChangeset for help on using the changeset viewer.