Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #64876


Ignore:
Timestamp:
03/17/2026 04:28:58 PM (6 months ago)
Author:
adamsilverstein
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #64876 – Description

    v2 v3  
    1818=== Example usage
    1919
    20 ```
     20
     21
     22{{{#!php
     23<?php
    2124// Remove AVIF from client-side processing.
    2225add_filter( 'client_side_supported_mime_types', function ( $mime_types ) {
    2326    return array_diff( $mime_types, array( 'image/avif' ) );
    2427} );
    25 ```
     28}}}
    2629
    27 ```
     30
     31
     32{{{#!php
     33<?php
    2834// Add HEIC to client-side processing.
    2935add_filter( 'client_side_supported_mime_types', function ( $mime_types ) {
     
    3137    return $mime_types;
    3238} );
    33 ```
     39}}}
     40
    3441
    3542== Props