[wp-trac] [WordPress Trac] #48111: Update usage of `multi_resize` to utilize new `wp_create_image_subsizes()` function

WordPress Trac noreply at wordpress.org
Mon Sep 23 17:48:40 UTC 2019


#48111: Update usage of `multi_resize` to utilize new `wp_create_image_subsizes()`
function
----------------------------+-------------------------
 Reporter:  antpb           |      Owner:  (none)
     Type:  task (blessed)  |     Status:  new
 Priority:  normal          |  Milestone:  5.3
Component:  Media           |    Version:
 Severity:  normal          |   Keywords:  needs-patch
  Focuses:                  |
----------------------------+-------------------------
 As mentioned in https://core.trac.wordpress.org/ticket/40439#comment:61

 There are two uses of `multi_resize()` that will need to be updated to use
 the new `wp_create_image_subsizes()` function introduced in #40439.

 - In the [https://github.com/WordPress/WordPress-develop/blob/master/src
 /wp-admin/includes/image-edit.php#L947 image editor] (`src/wp-
 admin/includes/image-edit.php`).
 - In [https://github.com/WordPress/WordPress-develop/blob/master/src/wp-
 admin/includes/image.php#L583 PDF Thumbnails/Fallback Thumbnail Support]
 (`src/wp-admin/includes/image.php`).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48111>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list