Make WordPress Core


Ignore:
Timestamp:
09/19/2022 10:51:53 PM (21 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/src/wp-admin/includes/image.php

    r54097 r54226  
    452452    if ( method_exists( $editor, 'make_subsize' ) ) {
    453453        foreach ( $new_sizes as $new_size_name => $new_size_data ) {
    454             // Include size name in the data.
    455             $new_size_data['name'] = $new_size_name;
    456 
    457454            $new_size_meta = $editor->make_subsize( $new_size_data );
    458455
Note: See TracChangeset for help on using the changeset viewer.