From ab0bb0f6f04eb6bf4f1810019dc77234323d6eca Mon Sep 17 00:00:00 2001 From: Debarghya Banerjee Date: Sun, 3 Nov 2024 20:09:01 +0530 Subject: [PATCH] Add medium_large size --- src/wp-includes/media.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php index b47730e28a39e..4504eb6ac2e6b 100644 --- a/src/wp-includes/media.php +++ b/src/wp-includes/media.php @@ -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'] );