We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a2e2c1d + ad3ab37 commit be9a01aCopy full SHA for be9a01a
src/wp-includes/block-editor.php
@@ -213,7 +213,7 @@ function get_default_block_editor_settings() {
213
214
$allowed_mime_types = get_allowed_mime_types();
215
216
- // Iterate through mime types and check if they are supported by the image editor.
+ // Iterate through mime types and remove those unsupported by the image editor.
217
foreach ( $allowed_mime_types as $mime_type_extensions => $mime_type ) {
218
if ( ! wp_image_editor_supports( array( 'mime_type' => $mime_type ) ) ) {
219
unset( $allowed_mime_types[ $mime_type_extensions ] );
0 commit comments