Skip to content

Commit

Permalink
Add medium_large size
Browse files Browse the repository at this point in the history
  • Loading branch information
Debarghya-Banerjee committed Nov 3, 2024
1 parent 0a45a6c commit ab0bb0f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/wp-includes/media.php
Original file line number Diff line number Diff line change
Expand Up @@ -4513,10 +4513,11 @@ function wp_prepare_attachment_for_js( $attachment ) {
$possible_sizes = apply_filters(
'image_size_names_choose',
array(
'thumbnail' => __( 'Thumbnail' ),
'medium' => __( 'Medium' ),
'large' => __( 'Large' ),
'full' => __( 'Full Size' ),
'thumbnail' => __( 'Thumbnail' ),
'medium' => __( 'Medium' ),
'medium_large' => __( 'Medium Large' ),
'large' => __( 'Large' ),
'full' => __( 'Full Size' ),
)
);
unset( $possible_sizes['full'] );
Expand Down

0 comments on commit ab0bb0f

Please sign in to comment.