|
7 | 7 |
|
8 | 8 | namespace Cloudinary; |
9 | 9 |
|
| 10 | +use Cloudinary\Misc\Image_Sizes_No_Textdomain; |
10 | 11 | use Cloudinary\Settings\Setting; |
11 | 12 | use Google\Web_Stories\Story_Post_Type; |
12 | 13 | use WP_Post; |
@@ -472,7 +473,7 @@ public static function get_support_link( $args = array() ) { |
472 | 473 | $plugin->version |
473 | 474 | ) |
474 | 475 | ), |
475 | | - 'tf_description' => esc_attr( __( 'Please, provide more details on your request, and if possible, attach a System Report', 'cloudinary' ) ), |
| 476 | + 'tf_description' => esc_attr( __( 'Please, provide more details on your request, and if possible, attach a System Report', 'cloudinary' ) ), |
476 | 477 | ); |
477 | 478 |
|
478 | 479 | $args = wp_parse_args( |
@@ -924,15 +925,7 @@ public static function get_registered_sizes( $attachment_id = null ) { |
924 | 925 | /** This filter is documented in wp-admin/includes/media.php */ |
925 | 926 | $image_sizes = apply_filters( |
926 | 927 | 'image_size_names_choose', |
927 | | - array( |
928 | | - // phpcs:disable WordPress.WP.I18n.MissingArgDomain |
929 | | - 'thumbnail' => __( 'Thumbnail' ), |
930 | | - 'medium' => __( 'Medium' ), |
931 | | - 'medium_large' => __( 'Medium Large' ), |
932 | | - 'large' => __( 'Large' ), |
933 | | - 'full' => __( 'Full Size' ), |
934 | | - // phpcs:enable WordPress.WP.I18n.MissingArgDomain |
935 | | - ) |
| 928 | + Image_Sizes_No_Textdomain::get_image_sizes() |
936 | 929 | ); |
937 | 930 |
|
938 | 931 | $labels = wp_parse_args( $labels, $image_sizes ); |
|
0 commit comments