Skip to content

Commit be9a01a

Browse files
Merge branch 'fix/editor-allowed-types' of github.com:adamsilverstein/wordpress-develop into fix/editor-allowed-types
2 parents a2e2c1d + ad3ab37 commit be9a01a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-includes/block-editor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ function get_default_block_editor_settings() {
213213

214214
$allowed_mime_types = get_allowed_mime_types();
215215

216-
// Iterate through mime types and check if they are supported by the image editor.
216+
// Iterate through mime types and remove those unsupported by the image editor.
217217
foreach ( $allowed_mime_types as $mime_type_extensions => $mime_type ) {
218218
if ( ! wp_image_editor_supports( array( 'mime_type' => $mime_type ) ) ) {
219219
unset( $allowed_mime_types[ $mime_type_extensions ] );

0 commit comments

Comments
 (0)